Skip to content

Commit

Permalink
chore: mixin conditionally load ingest storage alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichalek132 committed Apr 10, 2024
1 parent df63239 commit 125d56a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
(import 'alerts/blocks.libsonnet') +
(import 'alerts/compactor.libsonnet') +
(import 'alerts/autoscaling.libsonnet') +
(import 'alerts/ingest-storage.libsonnet') +
(if $._config.ingest_storage_enabled then import 'alerts/ingest-storage.libsonnet' else {}) +
(import 'alerts/continuous-test.libsonnet'),
}
3 changes: 3 additions & 0 deletions operations/mimir-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@
// Used to add extra annotations to all alerts, Careful: takes precedence over default annotations.
alert_extra_annotations: {},

// Whether alerts for experimental ingest storage are enabled.
ingest_storage_enabled: true,

cortex_p99_latency_threshold_seconds: 2.5,

// Whether resources dashboards are enabled (based on cAdvisor metrics).
Expand Down

0 comments on commit 125d56a

Please sign in to comment.