mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fixed indentation
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
d5845ad05b
commit
23c03207e9
|
@ -20,9 +20,11 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusNotificationQueueRunningFull',
|
alert: 'PrometheusNotificationQueueRunningFull',
|
||||||
expr: |||
|
expr: |||
|
||||||
|
(
|
||||||
predict_linear(prometheus_notifications_queue_length{%(prometheusSelector)s}[5m], 60 * 30)
|
predict_linear(prometheus_notifications_queue_length{%(prometheusSelector)s}[5m], 60 * 30)
|
||||||
>
|
>
|
||||||
prometheus_notifications_queue_capacity{%(prometheusSelector)s}
|
prometheus_notifications_queue_capacity{%(prometheusSelector)s}
|
||||||
|
)
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
labels: {
|
labels: {
|
||||||
|
@ -35,9 +37,12 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusErrorSendingAlerts',
|
alert: 'PrometheusErrorSendingAlerts',
|
||||||
expr: |||
|
expr: |||
|
||||||
100 * rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m])
|
(
|
||||||
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m])
|
||||||
/
|
/
|
||||||
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m]) > 1
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m]) > 1
|
||||||
|
)
|
||||||
|
* 100
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
labels: {
|
labels: {
|
||||||
|
@ -50,9 +55,13 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusErrorSendingAlerts',
|
alert: 'PrometheusErrorSendingAlerts',
|
||||||
expr: |||
|
expr: |||
|
||||||
100 * rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m])
|
(
|
||||||
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m])
|
||||||
/
|
/
|
||||||
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m]) > 3
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m])
|
||||||
|
)
|
||||||
|
* 100
|
||||||
|
> 3
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
labels: {
|
labels: {
|
||||||
|
@ -143,9 +152,16 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusRemoteStorageFailures',
|
alert: 'PrometheusRemoteStorageFailures',
|
||||||
expr: |||
|
expr: |||
|
||||||
(rate(prometheus_remote_storage_failed_samples_total{%(prometheusSelector)s}[1m]) * 100)
|
(
|
||||||
|
rate(prometheus_remote_storage_failed_samples_total{%(prometheusSelector)s}[1m])
|
||||||
/
|
/
|
||||||
(rate(prometheus_remote_storage_failed_samples_total{%(prometheusSelector)s}[1m]) + rate(prometheus_remote_storage_succeeded_samples_total{%(prometheusSelector)s}[1m]))
|
(
|
||||||
|
rate(prometheus_remote_storage_failed_samples_total{%(prometheusSelector)s}[1m])
|
||||||
|
+
|
||||||
|
rate(prometheus_remote_storage_succeeded_samples_total{%(prometheusSelector)s}[1m])
|
||||||
|
)
|
||||||
|
)
|
||||||
|
* 100
|
||||||
> 1
|
> 1
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
|
@ -159,9 +175,11 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusRemoteWriteBehind',
|
alert: 'PrometheusRemoteWriteBehind',
|
||||||
expr: |||
|
expr: |||
|
||||||
|
(
|
||||||
prometheus_remote_storage_highest_timestamp_in_seconds{%(prometheusSelector)s}
|
prometheus_remote_storage_highest_timestamp_in_seconds{%(prometheusSelector)s}
|
||||||
- on(job, instance) group_right
|
- on(job, instance) group_right
|
||||||
prometheus_remote_storage_queue_highest_sent_timestamp_seconds{%(prometheusSelector)s}
|
prometheus_remote_storage_queue_highest_sent_timestamp_seconds{%(prometheusSelector)s}
|
||||||
|
)
|
||||||
> 120
|
> 120
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
|
|
Loading…
Reference in a new issue