Skip to content

Commit

Permalink
docs: fix metrics labels name in notification monitoring (#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 committed Apr 17, 2024
1 parent 2031a07 commit 1c6b6eb
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 1c6b6eb

Please sign in to comment.