datalust / seq-app-opsgenie

Create Opsgenie alerts in response to events or notifications in Seq
Apache License 2.0
3 stars 2 forks source link

OpsGenie deduplication issue #13

Open mpp-scottm opened 2 years ago

mpp-scottm commented 2 years ago

The problem we’re facing is that some of our events cause seq to repeatedly send out alerts to Opsgenie and the oncall engineers every minute or so. OpsGenie handles its deduplication via the Alias however our eventid from seq is unique every time an event is generated so it isnt deduplicating but creating a new ticket each time. If there was the option to set our own Alias to pass to opsgenie instead of just the seq EventId by default we could get around this.

It would be good if we could do the something similar as for other fields in the Opsgenie alerting app. Setting our own alias and overriding the default EventId being passed would work as we would use something like {{Stack}}-{{AppName}} in a custom alias field which would then cause errors from our kubernetes to deduplicate based on our namespace and pod.

nblumhardt commented 2 years ago

Thanks for the suggestion and feedback, Scott! 👍