31 Dec 2020
	
		
		03:40 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		03 Oct 2022
	
		
		11:02 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Ana_Kuzmenchuk
		
		
		
		
		
		
		
		
	
			
		
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
Solved! Go to Solution.
31 Dec 2020 03:48 PM
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...
07 Feb 2022 09:29 AM
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