i am trying to create an error policy that would trigger when the errors reach a certain % of errors but also only if the number of users is larger than
X (i.e 5).
the reason that we need this is that we are working on a mobile app and we have an known error that we are working on that is only triggered for 1 or 2 users at a time and we want to limit the amount of noise it generates
this is what i came up with just for capturing that data, but i was unable to use it in the alert policy because i am querying multiple columns.
SELECT percentage(count(*), WHERE errorType is not null) as 'Errors %', filter(uniqueCount(userUUID), WHERE errorType is not null) as 'number of affected users' FROM MobileRequestError, MobileRequest WHERE appName = 'iOS' SINCE 30 minutes ago TIMESERIES 1 minutes
New Relic Edit
- I want this too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.