20 Dec 2018 02:20 AM - last edited on 29 May 2023 09:43 AM by MaciejNeumann
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
Solved! Go to Solution.
20 Dec 2018 02:34 AM
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