11 Nov 2019 06:26 AM
Using Rest APIwe trying to get details of particular host with all its web request Response time and its purepath.
Solved! Go to Solution.
14 Jan 2020 10:50 AM
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