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

API to get problem details URL

Balamurugesh
Guide

hi Team, i am looking for an API which will provide the problems link of an monitor.

3 REPLIES 3

Mizső
DynaMight Leader
DynaMight Leader

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).

 

Mizs_0-1666274968124.png

 

I hope it helps. Have a nice day.

 

Best regards,

 

Mizső

 

  

Certified Dynatrace Professional

mgome
Advisor

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}  

Mizső
DynaMight Leader
DynaMight Leader

Hi @mgome,

 

Clean and simple solution. Composition of URL is a great idea. Address bar always contains relevant ids. Nice job!

 

Best regards,

 

Mizső 

Certified Dynatrace Professional

Featured Posts