Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: mixin conditionally load ingest storage alerts #7867

Merged
Show file tree
Hide file tree
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
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
Loading