From f9f91f072ac173a899c4dff50a07d014b57709b1 Mon Sep 17 00:00:00 2001 From: yuyr Date: Mon, 29 Jun 2026 13:23:44 +0800 Subject: [PATCH] =?UTF-8?q?20260629=20=E4=BF=AE=E5=A4=8DARM=E7=9B=91?= =?UTF-8?q?=E6=8E=A7fallback=E9=9D=A2=E6=9D=BF=E9=9B=B6=E5=80=BC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/arm64-compose/grafana/dashboards/ours-rp-repo-sync.json | 2 +- .../compose/grafana/dashboards/ours-rp-repo-sync.json | 2 +- monitor/grafana/dashboards/ours-rp-repo-sync.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/arm64-compose/grafana/dashboards/ours-rp-repo-sync.json b/deploy/arm64-compose/grafana/dashboards/ours-rp-repo-sync.json index d3ece25..1c7ccc1 100644 --- a/deploy/arm64-compose/grafana/dashboards/ours-rp-repo-sync.json +++ b/deploy/arm64-compose/grafana/dashboards/ours-rp-repo-sync.json @@ -132,7 +132,7 @@ "pluginVersion": "11.3.1", "targets": [ { - "expr": "ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}", + "expr": "sum(ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}) or vector(0)", "legendFormat": "fallback", "refId": "A" } diff --git a/deploy/arm64-installer/compose/grafana/dashboards/ours-rp-repo-sync.json b/deploy/arm64-installer/compose/grafana/dashboards/ours-rp-repo-sync.json index d3ece25..1c7ccc1 100644 --- a/deploy/arm64-installer/compose/grafana/dashboards/ours-rp-repo-sync.json +++ b/deploy/arm64-installer/compose/grafana/dashboards/ours-rp-repo-sync.json @@ -132,7 +132,7 @@ "pluginVersion": "11.3.1", "targets": [ { - "expr": "ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}", + "expr": "sum(ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}) or vector(0)", "legendFormat": "fallback", "refId": "A" } diff --git a/monitor/grafana/dashboards/ours-rp-repo-sync.json b/monitor/grafana/dashboards/ours-rp-repo-sync.json index d3ece25..1c7ccc1 100644 --- a/monitor/grafana/dashboards/ours-rp-repo-sync.json +++ b/monitor/grafana/dashboards/ours-rp-repo-sync.json @@ -132,7 +132,7 @@ "pluginVersion": "11.3.1", "targets": [ { - "expr": "ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}", + "expr": "sum(ours_rp_repo_sync_phase_count{phase=\"rrdp_failed_rsync_ok\"}) or vector(0)", "legendFormat": "fallback", "refId": "A" }