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

Get process CPU utilization using API

vikas_sood
Participant

Hi,

 

Is there any api to get the highlighted details in below snapshot for a process group?

CDViewer_FyKf9zcQXA.png

 

I tried the metrics v2 api's in https://community.dynatrace.com/t5/REST-API/API-Get-detailed-CPU-consumption/m-p/102104 , however they are for Metrics only. How can I get the highlighted details:

 - Name

- Type

- CPU usage at mark

3 REPLIES 3

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @vikas_sood,

Try Metrics API - GET metric data points with builtin:tech.generic.cpu.groupTotalTime

Yosi_Neuman_0-1643183078140.png

HTH

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

builtin:tech.generic.cpu.groupTotalTime isn't returning any data. I am seeing data only with cpu.usage and cpu.totalTIme.

 

image.png

Ok, so I am able to pull builtin:tech.generic.cpu.groupTotalTime  from dynatrace for a process group. However, I also need to pull the cpu consumption by all processes in process group along with the process name. Is there any API for that?

Featured Posts