31 Dec 2020 07:40 AM - last edited on 03 Oct 2022 03:02 AM by Ana_Kuzmenchuk
I have a lot of custom metrics already existing for my project via spring boot application and many endpoints.
How can I reuse it to be used in Dynatrace with the better way?
I have began to use Micrometer in a springboot application, but it seems that I need to re-implement all metrics to use Dynatrace libraries.
Any idea ?
Solved! Go to Solution.
If this is in Kubernetes you can set up the Kubernetes integration and there is a new feature to have it scrape your metrics endpoints if you annotate them with the required entries. This brings those metrics into Dynatrace.
Alternatively you could use the generic metric ingest in a script or something like that to report the metrics back via the OneAgent: https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/ingestion-metho...
Hello! I just wanted to let you know - and for future references - that we have published a new version of the micrometer registry for Dynatrace: https://micrometer.io/docs/registry/dynatrace, with simplified deployment and that automatically connecting your Micrometer metrics to the topology.