Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions cortex-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,15 @@
// As of https://github.com/cortexproject/cortex/pull/2092, this metric is
// only exposed when it is supposed to be non-zero, so we don't need to do
// any special filtering on the job label.
alert: 'CortexBadOverrides',
// The metric itself was renamed in
// https://github.com/cortexproject/cortex/pull/2874
//
// TODO: Remove deprecated metric name of
// cortex_overrides_last_reload_successful in the future
alert: 'CortexBadRuntimeConfig',
expr: |||
cortex_runtime_config_last_reload_successful == 0
or
cortex_overrides_last_reload_successful == 0
|||,
'for': '15m',
Expand All @@ -105,7 +112,7 @@
},
annotations: {
message: |||
{{ $labels.job }} failed to reload overrides.
{{ $labels.job }} failed to reload runtime config.
|||,
},
},
Expand Down