feat(inhibit): add inhibition metrics#4629
Merged
SuperQ merged 1 commit intoprometheus:mainfrom Oct 25, 2025
Merged
Conversation
843997c to
2851b0d
Compare
SuperQ
reviewed
Oct 24, 2025
5c7749f to
7d259e1
Compare
7439ab2 to
95b6616
Compare
SuperQ
reviewed
Oct 25, 2025
Add metrics for inhibitor: - alertmanager_inhibitor_source_alerts_cache_items - alertmanager_inhibitor_source_alerts_index_items - alertmanager_inhibitor_mutes_duration_seconds Add metrics for inhibition rules: - alertmanager_inhibit_rule_source_alerts_cache_items - alertmanager_inhibit_rule_source_alerts_index_items - alertmanager_inhibit_rule_matches_duration_seconds - alertmanager_inhibit_rule_mutes_duration_seconds Other changes: - Add debug logs for duplicate inhibition rule names - Add Len() method to store.Alerts struct - Add Len() method to inhibit.index struct - update docs Signed-off-by: Siavash Safi <siavash@cloudflare.com>
95b6616 to
3f04c9f
Compare
SuperQ
approved these changes
Oct 25, 2025
holger-waschke
pushed a commit
to holger-waschke/alertmanager
that referenced
this pull request
Nov 1, 2025
Add metrics for inhibitor: - alertmanager_inhibitor_source_alerts_cache_items - alertmanager_inhibitor_source_alerts_index_items - alertmanager_inhibitor_mutes_duration_seconds Add metrics for inhibition rules: - alertmanager_inhibit_rule_source_alerts_cache_items - alertmanager_inhibit_rule_source_alerts_index_items - alertmanager_inhibit_rule_matches_duration_seconds - alertmanager_inhibit_rule_mutes_duration_seconds Other changes: - Add debug logs for duplicate inhibition rule names - Add Len() method to store.Alerts struct - Add Len() method to inhibit.index struct - update docs Signed-off-by: Siavash Safi <siavash@cloudflare.com> Signed-off-by: Holger Waschke <holger.waschke@dvag.com>
Merged
SoloJacobs
added a commit
to SoloJacobs/alertmanager
that referenced
this pull request
Dec 7, 2025
Adds changes that have been merged after 2025-11-21 into main. The entry prometheus#4629 is removed from the log, since it is superseded by prometheus#4745.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add metrics for inhibitor:
Add metrics for inhibition rules:
Other changes: