I am new to new relic and I want to send every error for my application to go to slack. For this I have created Alert condition, Alert Policy and Workflow(connected with slack) but the notification aren't going. I am guessing that there might be a problem with alert policy and alert condition.
This is the query which I am trying to run
This is the threshold for alert condition, please check
I think a big question is - are the alerts not firing or are notifications not being sent to slack (This would determine whether it's the alert policy/condition causing the issue or whether it's the workflow)? If you go to your "Issues" page and search for incidents in the last week (Remove the "status = Active" filter), do you see this incident?
I think there are some modifications that also should adjust to get every error:
above or equal to 0
, I think they want to change this to justabove 0
. One of my thoughts here too would be that our system identifies changes in state according to the threshold, but withabove or equal to 0
, the alert would always be in the failed state and thus would never alarm.for at least 1 minute
toat least once in 1 minute
.