Rename metrics in Dropwzard MetricsRegistry in a Spring Boot application #4031
abhishekjoy1
started this conversation in
General
Replies: 1 comment
-
Could anyone please help here? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my Spring Boot application, I am using a metrics library which is a wrapper over
io.dropwizard.metric
s. So I am getting all the API and system metrics from MetricsRegistry.As a result, while I am hitting the /metrics actuator endpoint, I can see all these metrics.
Now, the problem is all the metric names in the format
a.b.c
, which I would like to rename asa_b_c
.But I could not find any way to achieve the same.
Could anyone please help with a few pointers? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions