Hi NR Team,
I have two services where service ‘A’ calls an endpoint in service ‘B’ on regular bases (20+ times per minutes). Unfortunately I’m not able to monitor service ‘A’ using New Relic, but I can monitor service ‘B’.
To get notified when service ‘A’ is down I tried to create an NRQL Alert condition in service ‘B’. I simply count the number of endpoint calls in service ‘B’ and when it drops to 0, I would like to create an alert. The NRQL query looks like this:
SELECT count(*) from Transaction WHERE appName = ‘my-app-name’ AND request.uri = ‘/my-endpoint’
Threshold type is set to static. I set the when condition to ‘equals 0’ (I also tried ‘below 1’). I also tried to fill data gaps with static 0 value.
When I create the NRQL alert condition the preview chart shows the red violation area where the count is 0, but I do not get any notifications when it happens. I have multiple notification channels set and I get notifications from other conditions from the same policy.
Do you have any idea what I’m doing wrong?