Best way to implement Prometheus Metrics to Dynatrace

Hello

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 ?

Thanks

Best regards

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-methods/pipe/

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.

Documentation: Send Micrometer metrics to Dynatrace — Dynatrace Docs

Sonja