I have an application that is played on 2 different agents simultaneously. I
want to set an alert (DCRUM) on this application that will only trigger
when both robots will encounter an error on the same transaction at the
How to do ?
Thanks for your help.
Solved! Go to Solution.
This is very interesting case.
To handle it, I would take advantage of fact that encountering the errors by robot(-s) will always result in availability metric degradation, and that means marking the Agent as availability affected. With this information, the rest seems to be simple - all you need to do is create alert with your Application as a filter (or filter and dimension), Transaction as a dimension and Synthetic Agent as a filter (and fulfill it with your 2 agents names or addresses). Then define condition with metric Availability affected users = 2.
The only problem with this idea is fact, that for Synthetic and Sequence alerts (I suppose you may like to use such kind of alerts) we do not have metric Affected users yet. Good news is that this metric (as well as many other new metrics and dimensions) will be available in alert mechanism in 2018 release (Beta version already available!).
As a temporary workaround, I can suggest you creating two separate alerts for your two agents and use some 3rd party tool to merge them. I know it s not perfect solution, but perhaps it will be sufficient before starting using 2018.
Thank you for your help and your complete answer.
However, I can not make the alert that you indicate me.
I can not find the Availability affected users dimension.
What type of alert should I choose to have this metric?
As I mentioned in my previous response, metric Affected users for Enterprise synthetics (previously
Synthetic and Sequence) alerts is not available yet, but will be available in 2018 release.
Thanks for your precisions.
You tell me to merge 2 alerts into one with a third party tool.
you have any suggestions or procedures for doing this because I do not
see how to do it and it could be a temporary possibility until the 2018
Thank you in advance
By 'merge two alerts with 3rd party tool' I meant merging notifications produced by those two alerts. I'm sorry, I should have been more precise.
So, for example, I can think about creating email notification with subject "Issues on agent 1" for first alert, email notification with subject "Issues on agent 2" for 2nd alert and checking your mailbox for presence of two emails with those topics within time range of your choice. Presence of those two emails would mean issues reported by both synthetic agents, which is exactly your case. Instead of sending email you may consider script producing special kind of entries in txt file or database.
Of course instead of manual checking the mailbox (txt file or database), you may consider writing script doing it automatically. You can either do it yourself or contact Dynatrace Services for assistance.