Merge pull request #2972 from prometheus/add-description-to-am-mixin

Mixin: Fix CI linter errors
This commit is contained in:
gotjosh 2022-06-30 12:41:26 +01:00 committed by GitHub
commit 528b9588bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -9,3 +9,7 @@ exclusions:
entries:
- dashboard: Alertmanager / Overview
reason: multi-select is not always required
panel-units-rule:
entries:
- dashboard: Alertmanager / Overview
reason: Dashboard does not benefit from specific unit specification.

View File

@ -42,6 +42,7 @@ local graphPanel = grafana.graphPanel;
local alerts =
graphPanel.new(
'Alerts',
description='current set of alerts stored in the Alertmanager',
datasource='$datasource',
span=6,
format='none',
@ -54,6 +55,7 @@ local graphPanel = grafana.graphPanel;
local alertsRate =
graphPanel.new(
'Alerts receive rate',
description='rate of successful and invalid alerts received by the Alertmanager',
datasource='$datasource',
span=6,
format='ops',
@ -67,6 +69,7 @@ local graphPanel = grafana.graphPanel;
local notifications =
graphPanel.new(
'$integration: Notifications Send Rate',
description='rate of successful and invalid notifications sent by the Alertmanager',
datasource='$datasource',
format='ops',
stack=true,
@ -80,6 +83,7 @@ local graphPanel = grafana.graphPanel;
local notificationDuration =
graphPanel.new(
'$integration: Notification Duration',
description='latency of notifications sent by the Alertmanager',
datasource='$datasource',
format='s',
stack=false,