Gradle dependency – implementation ‘io.micrometer:micrometer-tracing-bridge-brave’
import io.micrometer.core.annotation.Timed;
@Override
@Timed(value = “custom.mrl.produce”, description = “Metrics for JMS producer to RDB”)
public void notify(Object message) {
// something here
}
The problem I am facing is that sometimes this custom metrics is not showing up in my /actuator/metrics endpoint.
Kindly help.
Thanks in advance!!
I tried going through the documentation but didn’t found anything related to this issue.
Ankit_agile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.