20 Jan 2023 03:13 PM - last edited on 23 Jan 2023 03:20 PM by Ana_Kuzmenchuk
Hi,
I have scripts running on the server for capturing the data every 5 mins and wanted to read those files/capture data and present them in the dashboard.
Note: OneAgent is already installed on a server.
Regards
Solved! Go to Solution.
20 Jan 2023 03:25 PM
You could call the metrics api in your script to push the data to dynatrace.
Or you could convert it to a OneAgent Extension.
20 Jan 2023 04:02 PM
havent used API before , any example which can help?
20 Jan 2023 04:53 PM
The documentation I linked contains an Example that should fit your use case. Adding a new metric to an existing host.