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

Best way to implement Prometheus Metrics to Dynatrace

Sylvie_Perriere
Newcomer

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

1 REPLY 1

JamesKitson
Dynatrace Leader
Dynatrace Leader

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