Alerting Error rate


I'm using the new alerting system and I was wondering if there's a way to make an alert for error rate in percentage as threshold. Now only is available numeric count as 20 or 50 errors in a minute and so on. One example is the following: I have 1000 transactions and 200 were errors then I have 0.20% of error rate, it will alert if my threshold was set as > 0.10%.

Another doubt is if there's a chance to make an alert using the module Visualize or if there's a plan to do it in the future.

Thank you in advance.

tagging cc @mikecote for a more detailed explanation.

It doesn't seem like you can do this with an index threshold alert right now though I have word from the team that they're investigating creating workflows for this.

In the mean time, I think you should be able to create this with a Watcher and some Painless scripts. Might be tricky to get working though because you'll need to get an aggregation to capture the doc count and count of matches.

Alright! I'm going to try a Watcher and using painless script!

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.