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,463,473
Community Members
 
Community Events
176
Community Groups

label visibleTo is not working on prometheusRule

Hi,
I'm trying to enable visibility for the Opsgenie alerts to everyone  through prometheusRule with no success. The alerts are sent normally, responders are receiving, but if someone for other team try to visualize the alert, they got a 403 error : 

Oops!
It looks like you don't have permission to see this page.

I tried to set visibleTo: everyone on labels, but it didn't work. Does anyone knows how to define visibleTo configuration on prometheus rules to allow everyone visualize the alert on opsgenie ? I'm using alertmanager integration with Opsgenie.
Thanks in advance,


labels:
   env: prd
    priority: p2
    responders: development
    visibleTo: everyone

1 answer

1 accepted

1 vote
Answer accepted
Nick H Atlassian Team May 11, 2022

Hi @daniel.rosa ,

That visibleTo: everyone label or field seems more like a Prometheus thing. 

Visibility to alerts in Opsgenie would be dependent on your user's roles, and the permissions they have to the alerts.

By default account Admins and Owners have access to all alerts. Account Users will only have access to the alerts they are recipients of directly, or if the alerts are sent a team the Users are a member of.

You could consider creating a custom role that grants permission to all alerts, but the issue here is it applies to ALL alerts - meaning they'd be able to take action on any/all alerts. So it might not meet the use case. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events