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

is it possibile to request the throughput metric from an API SaaS request?

gaia_battista
Newcomer

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?

1 REPLY 1

alonso_decosio
Dynatrace Advisor
Dynatrace Advisor

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}&timeseriesId=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}&timeseriesId=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