Skip to content

Commit

Permalink
Update alerts
Browse files Browse the repository at this point in the history
Signed-off-by: Ganesh Vernekar <[email protected]>
  • Loading branch information
codesome committed Jan 23, 2025
1 parent c777bbf commit 323a83b
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions operations/mimir-mixin/alerts/ingest-storage.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,6 @@
},

// Alert if block-builder didn't process cycles in the past hour.
{
alert: $.alertName('BlockBuilderNoCycleProcessing'),
'for': '10m',
expr: |||
max by(%(alert_aggregation_labels)s, %(per_instance_label)s) (histogram_count(increase(cortex_blockbuilder_consume_cycle_duration_seconds[60m]))) == 0
||| % $._config,
labels: {
severity: 'warning',
},
annotations: {
message: '%(product)s {{ $labels.%(per_instance_label)s }} in %(alert_aggregation_variables)s has not processed cycles in the past hour.' % $._config,
},
},
{
alert: $.alertName('BlockBuilderNoCycleProcessing'),
'for': '20m',
Expand Down Expand Up @@ -285,10 +272,9 @@
},
},

// Alert if block-builder is failing to compact and upload any blocks.
// Alert immediately if block-builder is failing to compact and upload any blocks.
{
alert: $.alertName('BlockBuilderCompactAndUploadFailed'),
'for': '5m',
expr: |||
sum by (%(alert_aggregation_labels)s, %(per_instance_label)s) (rate(cortex_blockbuilder_tsdb_compact_and_upload_failed_total[1m])) > 0
||| % $._config,
Expand Down

0 comments on commit 323a83b

Please sign in to comment.