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

Is there any chance for use "AND" logic in conditions for Custom service metrics?

Alexander_R_
Advisor


I have request attribute.

It can have values: 101, 102, 103.

Why I can`t create metric - I Want to count requests with request attrubute 101 or 102.

I can`t tell to Dynatrace - to count requests that have 101 or 102....

This metric will not work because we can`t add additional logic in to condition like we have in AppMon. We have no "AND" or "OR"...

Condition will work if we have in query 102 and 101... But it is impossible.


There is no way to create metric from Multi dimensionnal analysis view.

I can`t choose in filter request attrubute "query" twice.


In AppMon we can have unlimited mesures and unlimited business transactions.

In Dynatrace we have problem with simple metrics like in my example.


Regards,

Alexander

2 REPLIES 2

Julius_Loman
Leader

You have your Regular expression wrong. For performance reasons of regular expressions, you can only have atomic groups. Thus your filter should look like this:

(?>101|102)

This will match if the value contains either 101 or 102.

Julius, thank you for fast response.