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

Dynatrace APi CPU Usage returns data from AWS CPU tab?

Hi

We wanted to fetch past 1 min or 5 min data from API.

GET https://xxxxx.live.dynatrace.com/api/v1/timeseries?timeseriesId=com.dynatrace.builtin:aws.ec2.instance.cpu.usage&relativeTime=5mins&aggregationType=AVG&queryMode=series&_ga=2.135429817.94794671.1545271333-1767923648.1494177264 

I am calling this, but when I check CPU value then it looks to be the one reported by AWS. how can I see the one reported by Dynatrace agent?

thanks

br

Farid

 

1 REPLY 1

JamesKitson
Dynatrace Guru
Dynatrace Guru

The one you're calling explicitly says aws: com.dynatrace.builtin:aws.ec2.instance.cpu.usage

You want one of the options from this infrastructure section of this page: https://www.dynatrace.com/support/help/shortlink/a...

Such as: com.dynatrace.builtin:host.cpu.system

James


Featured Posts