Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,161
Community Members
 
Community Events
184
Community Groups

Sending priority from Grafana

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.

 

Screen Shot 2019-12-30 at 20.04.25.png

Thank you!

2 answers

1 accepted

0 votes
Answer accepted
Kate Clavet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 30, 2019

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 

Thank you for the reply, Kate

Like Kate Clavet likes this

@Arthur Kerpician How do you setup priority in grafana alerts?

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).

Like Marcus Krug likes this
Like Kate Clavet likes this
Kate Clavet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 13, 2020

@borysov.oleksandr Yes, the integration can use tags in notifications :) Screen Shot 2020-01-13 at 4.42.08 PM.png

Thank you, there is a problem with their documentation. I read only the end part)

Screen Shot 2020-01-14 at 12.58.53 PM.png

Kate Clavet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 14, 2020

Hi @borysov.oleksandr yes, for sure it is confusing! :) 

@Kate Clavet 

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

Kate Clavet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 22, 2020

Hi there @borysov.oleksandr where in Grafana are you adding the key values? Can you give me a bit more information please? Thanks! 

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).

Grafana 6.6 has just released and tags works good with opsgenie! 

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)

alert-rule-tags.png

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_tags.png

Alert View with empty array as 'Tags' property valueextra-properties.png

Any ideas @Kate Clavet @borysov.oleksandr?? Thanks! 

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.

Like Connor Workman likes this

@borysov.oleksandr Hmm, still no result. I think this might be a constraint for the free plan. Thanks for your help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events