Using Coda Hale Meter in Spring Boot application -
The documentation says that
the user creates the Coda Hell metrics by prefixing it with their metric names. The appropriate type (eg histogram. , meter. )
I mean, I can use either a counter or a gauge with the metric name form "meter. *" And it will work as a meter I have tried
counterService.increment ("meter.si.invoice.processing");
But when I go to / management / metrics
, I get counting and no metric rate. What is the correct way to use Coda Helm in Spring Boots? The documentation is not very clear how the integration works.
Metrics is not aware of endpoint codewhich content. Once you send your metric, you need to use the Codhale tools to remove them (for example, one meter does not map directly to spring boot metric types, so the way you have tried them There is no clear way to expose).
Comments
Post a Comment