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

Synthetic reporting from API

julien_duhamel
Inactive

Hello community,


I hope, you could help me. I'm very not famillar with API request.

My customer need to retrieve a report every morning by email of the avaliabililty to their own application.

For this, i choosen PowerBI.

My issue : I would like to retrive all data points to the last 24 Hours from a synthetic scenario. I need to pickup all metrics possible and filtrer it with PowerBI. During my test, i can only retrive one type of metrics and few data points.

My request :

https://xxx.live.dynatrace.com/api/v2/metrics/query?metricSelector=synthetic.httpmonitor.availability&resolution=m&from=now-2w

Another question : What's the best ? CSV or JSON format for manipulate data?

Thank you for your help,

Julien

1 REPLY 1

AntonioSousa
Leader

You can check how to get availability values for synthetic monitoring in this thread:

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/239959/timeseries-metrics-infor...