I'm using Grafana 6.5.2 and I'd like to map each configured alert in Grafana to a priority in Opsgenie. Is this even possible with the Free plan?
I see the Priority configuration in the Integration screen, but I don't understand how the {{priority}} field is parsed from the request sent by Grafana.
Thank you!
Hi there @Arthur Kerpician yes this is because you are on the free plan. This functionality is only available for Standard and Enterprise. Hope that helps!
Best,
Kate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to make it work after finding this https://github.com/grafana/grafana/pull/21298
In your grafana contact point configuration for OpsGenie you need to
- Enable Override Priority in your contact
- Add Label as org_priority in your alerts and use the values from OpsGenie: P1, ..., P5
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.
You need the advanced integration feature, available in Standard or Enterprise plans, as @Kate Clavet mentioned. From the docs, I think the priority is parsed from the message itself (https://docs.opsgenie.com/docs/priority-field).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
@Kate Clavet Can opgenie grafana integration use tags in notifications? https://grafana.com/docs/grafana/latest/alerting/notifications/#alert-rule-tags
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@borysov.oleksandr Yes, the integration can use tags in notifications :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, there is a problem with their documentation. I read only the end part)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @borysov.oleksandr yes, for sure it is confusing! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you help me understand how I can use tags from grafana in opsgenie (I cant find examples in docs). When I add key=value in grafana alert I can't see it in opsgenie alerts.
Grafana v6.3.5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there @borysov.oleksandr where in Grafana are you adding the key values? Can you give me a bit more information please? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! It was very fresh feature and as I understand not released yet, only on master branch https://github.com/grafana/grafana/pull/20810 (opsgenie support pointed me to that issue when we try to resolve my question with tags).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Grafana 6.6 has just released and tags works good with opsgenie!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im also trying to retrieve alert rule tags from Grafana via a Logz.io integration to Opsgenie. Currently, I'm unable to see the values from the Alert view. Curently using Grafana v7.3.1.
I've set an alert rule tag in grafana from the Alert panel (shown in the image below)
If I set {{alert_tags}} as an 'extraProperty' from the logz.io integrations, I see that it comes in as an empty array on the Opsgenie Alert. Also worth mentioning that I am on the free plan of Opsgenie.
Alert View with empty array as 'Tags' property value
Any ideas @Kate Clavet @borysov.oleksandr?? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Did you use {{tags}} instead of {{alert_tags}}?
If you want to set priority from Grafana you should use the special tag name og_priority.
For example og_priority=P1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@borysov.oleksandr Hmm, still no result. I think this might be a constraint for the free plan. Thanks for your help!
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.