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

Rest api to get response time of all request for a particular host and its purepath

sravankumar_anu
Newcomer

Using Rest APIwe trying to get details of particular host with all its web request Response time and its purepath.


1 REPLY 1

skrystosik
DynaMight Guru
DynaMight Guru

It’s not possible because transactional data are in general combined into services. Service is something on top of All hosts that are serving them. What you need is taking timeries data from each service instance that is working on all processes that particular host serves https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric-v2/sele...

In general you have to first list all processes on particular host, than check on each process what services are there (to get ID’s of them) and than try to check data from those hosts via timeseries API with filtering particular service instance.

https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#parents-transformation

here you have option to use parents transformation that should work for you. But as I said, you have to know ID’s of each process group instances that are working on particular hosts. When you will extract those data you have to calculate them manually to have them on host level.

Sebastian


Regards, Sebastian

Featured Posts