How can you add custom tags to every Micrometer metric emitted by your Spring Boot application?
-
A
Define a MeterRegistryCustomizer bean that calls registry.config().commonTags()
-
B
Annotate each metric with @MetricTags
-
C
Set management.metrics.tags in application.properties
-
D
Use @CommonTag on the main application class