alert: FilesystemAlmostFull
expr: instance:node_filesystem_avail:ratio
* 100 < 5
for: 10m
annotations:
description: The filesystem {{ $labels.device }}:{{ $labels.mountpoint }} on {{
$labels.instance }} has {{ $value | printf "%.2f" }}% space available.
summary: The filesystem {{ $labels.device }}:{{ $labels.mountpoint }} is almost
full
|
|
|
|
|
|
|
|
|
|
|
alert: PostgresDown
expr: avg_over_time(pg_up[5m])
* 100 < 50
annotations:
description: The Postgres service {{ $labels.job }} instance {{ $labels.instance
}} is not responding for more than 50% of the time for 5 minutes.
summary: The Postgres service {{ $labels.job }} is not responding
|
alert: RedisDown
expr: avg_over_time(redis_up[5m])
* 100 < 50
annotations:
description: The Redis service {{ $labels.job }} instance {{ $labels.instance }}
is not responding for more than 50% of the time for 5 minutes.
summary: The Redis service {{ $labels.job }} is not responding
|
alert: ServiceDown
expr: avg_over_time(up[5m])
* 100 < 50
annotations:
description: The service {{ $labels.job }} instance {{ $labels.instance }} is not
responding for more than 50% of the time for 5 minutes.
summary: The service {{ $labels.job }} is not responding
|
|
|
|
|
|
|
|
|