Skip to content

Disable the micrometer metrics which are enabled by default #32721

Closed Answered by ebullient
ShubhamRwt asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to use the prometheus meter registry. You can (as I've shown) make your own.

Use the micrometer extension alone, and provide your own Micrometer MeterRegistry that does what you need and provides its own endpoint, or try what I've suggested on another discussion thread to replace the default prometheus meter registry so you can alter the scrape behavior that the default metrics handler invokes.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@brunobat
Comment options

@ppatierno
Comment options

@ebullient
Comment options

@ebullient
Comment options

Answer selected by ShubhamRwt
@ShubhamRwt
Comment options

@andreiyusupau
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment