-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically register the metics of PooledByteBufAllocator.DEFAULT
#5916
base: main
Are you sure you want to change the base?
Conversation
Motivation: Add metrics related to PooledByteBufAllocator that are already exposed by the netty. Modifications: - The PooledByteBufAllocator metric is now available in MoreMeterBinders. - To expose the PooledByteBufAllocator metrics, created the PooledByteBufAllocatorMetrics class. Result: Enables the PooledByteBufAllocator metric.
Micrometer already provides bindings to Netty Metrics (ref: https://docs.micrometer.io/micrometer/reference/reference/netty.html) I prefer that we either:
Let me know what you think @line/dx |
I didn't know that Netty metrics were supported by Micrometer finally. I prefer automatically setting the metric for the default one ( |
@ikhoon @jrhee17 @trustin @minwoox |
I think my intention was not conveyed. Unlike when you first created this PR, Micrometer now supports Netty metrics. Let me add a commit to apply that. |
PooledByteBufAllocator.DEFAULT
Changed the title of this PR to reflect the purpose. 🙇♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @Bue-von-hon 👍🙏
Motivation:
Add metrics related to PooledByteBufAllocator that are already exposed by the netty.
Modifications:
Result:
Enables the PooledByteBufAllocator metric.
this close #2633.