hi Team, i am looking for an API which will provide the problems link of an monitor.
Solved! Go to Solution.
Hi @Balamurugesh,
Maybe I missunderstand you. I have not found the problem URL in the enviroment v2 problem api.
I think you can have it in the problem notification integration if this way is OK with you (eg. with custom integration).
I hope it helps. Have a nice day.
Best regards,
Mizső
You need to get the list of problems using /api/v2/problems call and extract the problem ID. Use the "text" problem selector criteria to search for problems with your monitor title. The URL to your problem is:
Managed:
https://{your-domain}/e/{your-environment-id}/#problems/problemdetails;pid={ProblemID}
SaaS
https://{your-environment-id}.live.dynatrace.com/#problems/problemdetails;pid={ProblemID}
Hi @mgome,
Clean and simple solution. Composition of URL is a great idea. Address bar always contains relevant ids. Nice job!
Best regards,
Mizső