18 Apr 2023 03:20 PM - last edited on 20 Apr 2023 12:01 PM by Ana_Kuzmenchuk
Hi Team, I am looking for an API that will provide synthetic monitor downtime and failure reason at a particular time.
Solved! Go to Solution.
18 Apr 2023 03:38 PM
Hi,
Hi,
For this you can used Synthetic Monitor API (v1):
https://www.dynatrace.com/support/help/shortlink/api-synthetic-monitors-get-monitor
Radek
20 Apr 2023 12:03 PM
Hey @Balamurugesh, were you able to find the metrics in the documentation Radek has provided?
20 Apr 2023 02:58 PM
i couldn't find the downtime details in the metrics Radek provided
20 Apr 2023 03:29 PM - edited 20 Apr 2023 03:30 PM
Hi,
I would use general problems API filtering only entities I am interested.
You have problemSelector, entitySelector and startTime, endTime and problem information.
If you miss more problem details, as you already have already problem id, you can use problem details API to get more details.
I am not sure if Dynatrace has a specific API only for what you are looking for.
Best regards