From 119da33fdcdf5f9d279ccb4d3a9c771b8e889b9e Mon Sep 17 00:00:00 2001 From: Daco Date: Wed, 17 Apr 2024 16:39:14 +0200 Subject: [PATCH] docs: fix metrics labels name in notification monitoring (#17869) Signed-off-by: philippe.dacosta Co-authored-by: philippe.dacosta Co-authored-by: pasha-codefresh --- docs/operator-manual/notifications/grafana-dashboard.json | 4 ++-- docs/operator-manual/notifications/monitoring.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/operator-manual/notifications/grafana-dashboard.json b/docs/operator-manual/notifications/grafana-dashboard.json index 5d04f9116aa16..19af42cf39d06 100644 --- a/docs/operator-manual/notifications/grafana-dashboard.json +++ b/docs/operator-manual/notifications/grafana-dashboard.json @@ -60,7 +60,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(increase(argocd_notifications_trigger_eval_total[$interval])) by (notifier)", + "expr": "sum(increase(argocd_notifications_trigger_eval_total[$interval])) by (name)", "refId": "A" } ], @@ -146,7 +146,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(increase(argocd_notifications_deliveries_total[$interval])) by (notifier)", + "expr": "sum(increase(argocd_notifications_deliveries_total[$interval])) by (service)", "refId": "A" } ], diff --git a/docs/operator-manual/notifications/monitoring.md b/docs/operator-manual/notifications/monitoring.md index a0aabbaae1f09..3d8b4c41ea34d 100644 --- a/docs/operator-manual/notifications/monitoring.md +++ b/docs/operator-manual/notifications/monitoring.md @@ -13,8 +13,8 @@ The following metrics are available: Number of delivered notifications. Labels: -* `template` - notification template name -* `notifier` - notification service name +* `trigger` - trigger name +* `service` - notification service name * `succeeded` - flag that indicates if notification was successfully sent or failed ### `argocd_notifications_trigger_eval_total`