We are deploying our application on top of a shared Kubernetes based infrastructure. It sends alerts into OpsGenie via Prometheus and we have no control over thresholds etc.
We are having to maintain a Notification policy which does 2 things:
1 - If a specific tag value is "critical" then upgrade to a P2
2 - Occasionally filter for broken/noisy/spamming alerts when a new feature or change introduces this.
My question is can we have a policy that is effectively an Ignore list then our P" rule is simply:
if tag = critical and name NOT IN <other policy>
Hi Jamie,
This is Mona here, happy to help :slightly_smiling_face:
As I understand, you would like to configure Alert Policy in such a way that it updates the priority to P2 if the tag value equals Critical & only triggers for conditions not specified in other Alert policies.
The reason I’m referring to Alert Policy here is that it changes or appends the alert properties like the message, description, or even responder of the alert before it’s created. Assign Teams or Users as responders as well. Alert policies have the option to process more than one policy. If the Continue to next policy option is enabled, the next policy is processed in the alert policy list. This chain execution stops at the first policy which has disabled this option.
However, Notification Policies exist only under Teams. Notification policies apply to notifications of alert actions, like new alert creation, acknowledge notifications, etc. These actions include delay/suppress, auto restart, and auto close.
For more details on the Alert & Notification Policy, you can refer to this doc.
https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/
Using Alert Policy, you can configure the matching conditions such that this policy applies to only specific alerts and is unique compared to other configured Alert policies. Please note that using another policy as a condition is not feasible as per the current design in order to avoid policy looping.
https://share.getcloudapp.com/P8u2vPr9
Hope it helps :) In case you have any further queries, please feel free to reach out to us by creating a ticket in this link and we’ll take it from there :)
Thanks,
Mona
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.