Skip to content

Commit

Permalink
docs: fix metrics labels name in notification monitoring (argoproj#17869
Browse files Browse the repository at this point in the history
)

Signed-off-by: philippe.dacosta <philippe.dacosta@adevinta.com>
Co-authored-by: philippe.dacosta <philippe.dacosta@adevinta.com>
Co-authored-by: pasha-codefresh <pavel@codefresh.io>
  • Loading branch information
3 people authored and mkieweg committed Jun 11, 2024
1 parent 2367f83 commit 119da33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/operator-manual/notifications/grafana-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
],
Expand Down Expand Up @@ -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"
}
],
Expand Down
4 changes: 2 additions & 2 deletions docs/operator-manual/notifications/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 119da33

Please sign in to comment.