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

How to retrieve process level metrics using REST API

vineel2962
Newcomer
 
4 REPLIES 4

wolfgang_beer
Dynatrace Leader
Dynatrace Leader

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/


sebastian_kryst
DynaMight Leader
DynaMight Leader

Here you can get process group list:

https://www.dynatrace.com/support/help/dynatrace-api/environment/topology-and-smartscape-api/topolog...

Here you will get process list:

https://www.dynatrace.com/support/help/dynatrace-api/environment/topology-and-smartscape-api/topolog...

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


Hi @sebastian k.

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 .


If by code level you mean data from purepaths, it's impossible. The only metrics you can have are those from Timeseries API.