We have a NRQL alert monitoring the number of Redis instances that are reporting.
Normally this should be 3 - if it drops below 3, we get an alert.
We got a series of alerts for this today - a bunch at around 12am and again at 5pm (UTC+1).
The graphs on the incident alert page show the number of samples briefly dropping to zero, triggering the alert. (https://alerts.newrelic.com/accounts/5202/incidents/137988146/violations?id=961044841)
However, if I run the same query on Insights, it’s just a flat line showing 3 instances continuously reporting. https://insights.newrelic.com/accounts/5202/query?query=SELECT%20filter(uniqueCount(entityName),%20WHERE%20`cluster.role`%20%3D%20’master’)%20%20as%20%27Masters%27%20FROM%20RedisSample%20WHERE%20%60label.environment%60%20%3D%20%27production%27%20TIMESERIES%20SINCE%20%272020-06-25%2016:00:00%27%20UNTIL%20%272020-06-25%2016:10:00%27
What’s the difference between how that NRQL query is computed in Insights vs Alerts?