We've had some issues with alerts from Grafana integrations going missing in OpsGenie due to unintended alert de-duplication. There are issues with the OpsGenie-Grafana integration for a setup with multiple Grafana instances and/or multiple OpsGenie-Grafana integrations. Is this a known issue at OpsGenie?
See posted issue at the Grafana repo for more details:
https://github.com/grafana/grafana/issues/31295
Hi @Gustav Janér ,
I don't think it's an issue. Deduplication occurs when alerts match the alias of an open existing Opsgenie alert - regardless of what integration they come from.
It seems like your Grafana instance is configured to multiple Opsgenie-Grafana integrations. And when requests are sent from Grafana to Opsgenie, only one alert is created due to the alias matching.
You can adjust what data parses as the alias in each integration's Advanced tab:
You'll notice there are dynamic fields that can be dragged and dropped on the right. But in your case, it might be easier to use something hardcoded for each integration. This would help avoid deduplication.
Here's a simple example of how that can be applied to two integrations:
If you do edit what parses in the alias - through dynamic fields or hardcoded data - you'll want each action of the integration to also use the same. This ensures consistency, and Opsgenie will know which alert to close, ack, etc. through the integration:
Hope this helps! Let us know if you have additional questions or issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this solution but there is still a problem about different alerts triggering from the same grafana. only one ticket is opened in Opsgenie and rest of the alerts of same alias didn't count as separated alerts. The only evidence for them is in the activity log of the first alert opened in OG.
Is there any workaround for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer! I'll try that out!:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.