cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Best way to implement Prometheus Metrics to Dynatrace

Sylvie_Perriere
Visitor

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

2 REPLIES 2

JamesKitson
Dynatrace Guru
Dynatrace Guru

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.

https://www.dynatrace.com/support/help/technology-support/cloud-platforms/kubernetes/monitoring/moni...


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...

sonja
Inactive

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: https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/ingestion-metho...

Sonja

Featured Posts