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 same time.
How to do ?
Thanks for your help.
Answer by Jacek J. ·
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.