Skip to content

Conversation

@SungJin1212
Copy link
Contributor

While #4700 migrated most metrics to use promauto for automatic registration, the alertmanager_silences metrics (Active, Pending, Expired) generated by newSilenceMetricByState were missed.

This PR migrate missed metric to use promauto.

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 force-pushed the migrate-silences-to-promauto branch from 29e76f6 to b7f446d Compare January 5, 2026 01:29
@SungJin1212
Copy link
Contributor Author

@SuperQ
Could you take a look when you have a time?

@SuperQ SuperQ merged commit 4781bbe into prometheus:main Jan 9, 2026
7 checks passed
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.

4 participants