10 Dec 2018 06:39 AM - last edited on 10 Dec 2021 07:52 AM by MaciejNeumann
How to retrieve process level metrics using REST API
Solved! Go to Solution.
10 Dec 2018 07:04 AM
To receive process level metrics use our /timeseries API and choose one of the pgi (Process) related timeseries, such as 'com.dynatrace.builtin:pgi.cpu.usage'.
You can find some more documentation within our help system:
https://www.dynatrace.com/support/help/dynatrace-api/environment/timeseries-api/
10 Dec 2018 07:07 AM
Here you can get process group list:
Here you will get process list:
Here in tineseries api you have list of available metrics.
https://www.dynatrace.com/support/help/shortlink/api-metrics#available-metrics-
Then you can use time series api to send entities and metrics you need to Dynatrace server and you should get results.
Sebastian
10 Dec 2018 04:59 PM
Thanks for the info. That was useful.
I also need to get code level (method level) metrics for .NET processes. Can this be achieved by REST API. If so, please suggest which api needs to be used to accomplish this .
10 Dec 2018 05:42 PM
If by code level you mean data from purepaths, it's impossible. The only metrics you can have are those from Timeseries API.