Skip to content

Conversation

@varundeepsaini
Copy link

Description

Fix the InfoInhibitor alert failing to evaluate with a "duplicate series" error in Prometheus.

When multiple info-level alerts fire in the same namespace, the current expression can produce multiple series with the same labelset after the unless on(namespace) operation, causing Prometheus to fail evaluation.

The fix uses count by (namespace) to aggregate alerts, ensuring each side of the unless operator produces exactly one series per namespace.

Fixes #2751

Related: prometheus-community/helm-charts#5873

Type of change

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Fix InfoInhibitor alert failing with duplicate series error when multiple info-level alerts fire in the same namespace.

@varundeepsaini varundeepsaini requested a review from a team as a code owner December 21, 2025 15:51
@varundeepsaini
Copy link
Author

@simonpasquier pushed the suggestion

@varundeepsaini varundeepsaini force-pushed the fix/infoinhibitor-duplicate-series branch from 1660d5f to a5be32e Compare December 22, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InfoInhibitor - duplicate series

2 participants