I have a spring batch application with the actuator included. I want to expose the standard spring.batch Micrometer metrics, however I cannot get the APM agent to pick up the data from my MeterRegistry.
When looking at the output from LoggingMeterRegistry I can clearly see that all metrics are present in Micrometer, but they are not published to Elastic.
APM agent manages to publish some basic JMX stuff to Elastic, but I cannot see any metrics.
My project uses:
Spring Boot/batch 3.1.1
apm-agent-attach 1.42.0
apm-agent-api 1.42.0
Any help here would be greatly appreciated. Let me know if I can provdide additional information.
Best regards,
Anders