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

When using metric selector in metric event creation will give alerts for individual entity ?

Sivp09
Contributor

When using the metric selector in metric event creation, will alerts be generated for individual entities? I have the same queue names running on two queue managers. If I filter them without splitting by queue manager in the metric selector, will the queue depth counts add up for the queues since they have the same name on two queue managers? In Data Explorer, it shows the summed-up results when not using split by queue manager. Will the alert trigger only if the combined queue counts exceed the threshold, or will it consider them as individual queues?"

5 REPLIES 5

Malaik
Leader

Hi @Sivp09 

It depend on the metric and the entity selector.

 

I'm afraid if you don't put the split and for example your are using the queue depth, this will consider the accumulation ...

You can Simulate this in the Data Explorer.

 

BRs,

Sharing Knowledge

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey @Sivp09,

It's hard to say for certain without seeing the metric selector in question but based on what you say it sounds like no, it won't create alerts for a specific entity and will evaluate the combined queue counts.

As an example of how this works, if I created a metric event using the first selector below, Dynatrace would not associate it with an entity. This is because it is evaluating the data returned by that query which is just 1 timeseries with no dimensionality. If I created it using the second selector, the one that is split, then it will evaluate each individual timeseries that is returned.

Fin_Ubels_0-1733698420149.png

You can also see what Dynatrace will evaluate when creating the metric event. On the metric event page in the preview section there is a dropdown. In that dropdown you will find all of the timeseries it is evaluating. As an example, in the picture below it is evaluating 3 different timeseries for 1 metric event.

Fin_Ubels_1-1733698590146.png

Hope the above helps, if you need more help or certainty then posting the query would allow us to look at what it is doing.

Hi @Fin_Ubels 

i want to have multiple queues in single metric event, since event filter only gives 'and' conditions , i would like to use metric selector. will it gives induvial alerts when depth exceeds thresholds. (screenshot attached)

and another question, instead of creating multiple metric events , is there way to create single one for multiple thresholds since all will go to single alerting profile and problem notification.

Sivp09_0-1733890476853.png

 

Regards,
Sivp09

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey @Sivp09 

Since you've used a :splitby in the metric selector, then an alert can be generated for each dimension specified in the split. In your case, this means that each time the threshold is breached by each queue_name it will generate an alert. If 2 queues have the same name though, they will likely be combined which presumably is not what you're after so I would recommend splitting by more than just the name.

Featured Posts