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
|
description: The minimum notification failure rate to {{ $labels.integration
|
||||||
}} sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
}} 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: |
|
expr: |
|
||||||
min by (job) (
|
min by (job, integration) (
|
||||||
rate(alertmanager_notifications_failed_total{job="alertmanager"}[5m])
|
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
|
> 0.01
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
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
|
- alert: AlertmanagerConfigInconsistent
|
||||||
annotations:
|
annotations:
|
||||||
description: Alertmanager instances within the {{$labels.job}} cluster have
|
description: Alertmanager instances within the {{$labels.job}} cluster have
|
||||||
|
|
|
@ -81,12 +81,13 @@ annotations:
|
||||||
description: The minimum notification failure rate to {{ $labels.integration }}
|
description: The minimum notification failure rate to {{ $labels.integration }}
|
||||||
sent from any instance in the {{$labels.job}} cluster is {{ $value | humanizePercentage
|
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: |
|
expr: |
|
||||||
min by (job) (
|
min by (job, integration) (
|
||||||
rate(alertmanager_notifications_failed_total{job="alertmanager"}[5m])
|
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
|
> 0.01
|
||||||
for: 5m
|
for: 5m
|
||||||
|
@ -94,6 +95,28 @@ labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
{{< /code >}}
|
{{< /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
|
##### AlertmanagerConfigInconsistent
|
||||||
|
|
||||||
{{< code lang="yaml" >}}
|
{{< code lang="yaml" >}}
|
||||||
|
|
Loading…
Reference in a new issue