Skip to content

Conversation

@mcpherrinm
Copy link
Contributor

@mcpherrinm mcpherrinm commented Nov 5, 2025

This was accidentally deleted along with the idMismatchCounter in #8445.

This is an alternative approach to #8474, and perhaps a reasonable default pattern for all stats registration in Boulder.

For more on promauto, see its documentation: https://pkg.go.dev/github.com/prometheus/[email protected]/prometheus/promauto

This was accidentally deleted along with the idMismatchCounter in #8445.

This is an alternative approach to #8474, and perhaps a reasonable default
pattern for all stats registration in Boulder.
@mcpherrinm mcpherrinm requested a review from a team as a code owner November 5, 2025 23:25
@mcpherrinm mcpherrinm requested a review from jsha November 5, 2025 23:25
Copy link
Contributor

@jsha jsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jsha jsha requested review from a team and beautifulentropy and removed request for a team November 6, 2025 00:47
@aarongable
Copy link
Contributor

I'm happy to take an action item to carry this change over to all the other places we use MustRegister.

@aarongable aarongable merged commit bdb9cda into main Nov 6, 2025
13 checks passed
@aarongable aarongable deleted the mattm-promauto branch November 6, 2025 18:26
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