Spring boot micrometer issue #5758
-
Hi guys. I am try to publish spring boot micrometer metrics via OTEL java agent. But it does not send micrometer metrics. I find that Metrics.global contains two-meter registries. Metrics.globalRegistry.getRegistries(); = {Collections$UnmodifiableSet@12375} size = 2 I think that issue that @AutoConfigureBefore(CompositeMeterRegistryAutoConfiguration.class) this configuration not work as expect. Metrics from http://localhost:8080/actuator/metrics not present in logs. Only present OTEL custom metrics like runtime.jvm.memory.area Example project: https://github.com/artemio77/otel-spring-boot-micrometer OTEL agent version: 1.12.1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @artemio77 , |
Beta Was this translation helpful? Give feedback.
-
Oh with this java agent this work as expected. Can you say when this fix will be released? |
Beta Was this translation helpful? Give feedback.
Hey @artemio77 ,
Your issues seems very similar to #5536, which was fixed, but not released yet. Can you test your application using the latest javaagent snapshot?