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

Creating Incident when ever the URL reached the threshold give alert.

rrawat
Guide

We want to create incident so when ever the url reached a threshold of 3 sec we will get and alerts.

Which measure should be chose.

right now we configured using


WebRequest measure

Represents the time to service the HTTP request of the declared Web Request (not including asynchronous Servlet 3.0 handling).

and aggreation as count we have choosen.

But not getting correct measures.

5 REPLIES 5

david_n
Inactive

Hello Rishab,

You have the correct measure, but your aggregation of count is what is causing your incident to return results different from what you are looking for.

If you use an aggregation of count it will simply measure the number of times that web request is captured. To create an incident based on the time it takes or the upper threshold of three seconds, you will have to use average, min or max. Average will take all the measurements within the evaluation timeframe and check whether the average of all the values is above your threshold.

Dynatrace measures data every 10 seconds, so you can use that as a point of reference for your evaluation timeframe.

Thanks,

Thanks for you response .

Actually we want to count that how many time the particular URl exceed the threshold.

If we will take average than with in 10 s evalution time frame we will get average of response in that time frame 10s.

So how can we do that.

Hi Rishab, Could you pl. explain the use case of this alert, since the dynatrace automatically gives alerts on URLs whenever they are slow (3 significant measurement are above auto-baseline threshold and 10% of URLs get slower). Regards, Rajesh.

We have created incident using webrequest response time as measure.

we are getting the count in the incident dashboard of how many time a particular URl exceed the threshold but we want to chart it.

The chart should contain the only response time which exceed the threshold not all.

JamesKitson
Dynatrace Leader
Dynatrace Leader

For what you want, I would create a Threshold Violations -> Count measure and select the measure you have already created as the 'source' for this new measure. What this will do is track the number of times this threshold is violated (based on what you have configured as the response time threshold in the existing measure) and you can use this new measure in charts and in incidents.

James