This version is still in development and is not considered stable yet. For the latest stable version, please use Micrometer 1.15.4! |
Meter Convention
While MeterFilter
can be used to customize the name and tags (collectively, the convention) of Meters in any instrumentation, it can be more convenient and robust to customize the convention for a common instrumentation more directly.
This is the purpose of the MeterConvention
.
For examples of its usage in instrumentation provided by Micrometer as well as examples of different implementations of a convention for an instrumentation, see the JVM metrics.