mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-14 11:37:31 +00:00
assets,site/content: daily assets regeneration
This commit is contained in:
parent
aa9303b45c
commit
f93c5affc5
2 changed files with 49 additions and 8 deletions
|
@ -47,17 +47,35 @@ groups:
|
|||
description: The minimum notification failure rate to {{ $labels.integration
|
||||
}} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
||||
}}.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications
|
||||
to a critical integration.
|
||||
expr: |
|
||||
min by (job) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager"}[5m])
|
||||
min by (job, integration) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager", integration=~`.*`}[5m])
|
||||
/
|
||||
rate(alertmanager_notifications_total{job="alertmanager"}[5m])
|
||||
rate(alertmanager_notifications_total{job="alertmanager", integration=~`.*`}[5m])
|
||||
)
|
||||
> 0.01
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
- alert: AlertmanagerClusterFailedToSendAlerts
|
||||
annotations:
|
||||
description: The minimum notification failure rate to {{ $labels.integration
|
||||
}} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
||||
}}.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications
|
||||
to a non-critical integration.
|
||||
expr: |
|
||||
min by (job, integration) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager", integration!~`.*`}[5m])
|
||||
/
|
||||
rate(alertmanager_notifications_total{job="alertmanager", integration!~`.*`}[5m])
|
||||
)
|
||||
> 0.01
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
- alert: AlertmanagerConfigInconsistent
|
||||
annotations:
|
||||
description: Alertmanager instances within the {{$labels.job}} cluster have
|
||||
|
|
|
@ -81,12 +81,13 @@ annotations:
|
|||
description: The minimum notification failure rate to {{ $labels.integration }}
|
||||
sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
||||
}}.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications to
|
||||
a critical integration.
|
||||
expr: |
|
||||
min by (job) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager"}[5m])
|
||||
min by (job, integration) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager", integration=~`.*`}[5m])
|
||||
/
|
||||
rate(alertmanager_notifications_total{job="alertmanager"}[5m])
|
||||
rate(alertmanager_notifications_total{job="alertmanager", integration=~`.*`}[5m])
|
||||
)
|
||||
> 0.01
|
||||
for: 5m
|
||||
|
@ -94,6 +95,28 @@ labels:
|
|||
severity: critical
|
||||
{{< /code >}}
|
||||
|
||||
##### AlertmanagerClusterFailedToSendAlerts
|
||||
|
||||
{{< code lang="yaml" >}}
|
||||
alert: AlertmanagerClusterFailedToSendAlerts
|
||||
annotations:
|
||||
description: The minimum notification failure rate to {{ $labels.integration }}
|
||||
sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
||||
}}.
|
||||
summary: All Alertmanager instances in a cluster failed to send notifications to
|
||||
a non-critical integration.
|
||||
expr: |
|
||||
min by (job, integration) (
|
||||
rate(alertmanager_notifications_failed_total{job="alertmanager", integration!~`.*`}[5m])
|
||||
/
|
||||
rate(alertmanager_notifications_total{job="alertmanager", integration!~`.*`}[5m])
|
||||
)
|
||||
> 0.01
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
{{< /code >}}
|
||||
|
||||
##### AlertmanagerConfigInconsistent
|
||||
|
||||
{{< code lang="yaml" >}}
|
||||
|
|
Loading…
Reference in a new issue