17 May 2018 09:56 AM
Hi, I have installed OneAgent on my machine and I need to have the throughput metrics. Is it possible to compose a GET request to have it?
Solved! Go to Solution.
18 May 2018 12:13 AM
Hi Gaia
If you are talking about disk throughput, you can use this request to get the average disk write operations per second for the last 2 hours:
`https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries?Api-Token={your-token}×eriesId=com.dynatrace.builtin:host.disk.writeoperations&relativeTime=2hours&aggregationType=avg&queryMode=total`
Or the disk read operations per second
`https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries?Api-Token={your-token}×eriesId=com.dynatrace.builtin:host.disk.readoperations&relativeTime=2hours&aggregationType=avg&queryMode=total`
If you are looking for a different metric, you can check the timeseriesId available on this page: https://www.dynatrace.com/support/help/dynatrace-...
Regards
Alonso