Skip to main content

🔔 Opsgenie

ParameterDescriptionRequired
alert.opsgenie.apiKey🔑 API KeyYes
alert.opsgenie.title✏️ Custom titleNo
alert.opsgenie.text✏️ Custom textNo

Example

apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: Secret
metadata:
name: kwatch
namespace: kwatch
stringData:
opsgenie-api-key: "replace-me"
config.yaml: |
alert:
opsgenie:
apiKey: "${file:/config/opsgenie-api-key}"
title: "optional customized title"
text: "optional customized text"

Routing

alert:
opsgenie:
apiKey: "${file:/config/opsgenie-api-key}"
routes:
- namespaces: ["production"]
severities: ["high", "critical"]
- reasons: ["OOMKilled"]

Retry

alert:
opsgenie:
apiKey: "${file:/config/opsgenie-api-key}"
retry:
maxAttempts: 5
delay: 5s

Fallback

alert:
opsgenie:
apiKey: "${file:/config/opsgenie-api-key}"
fallback: <another_provider>

Compact mode

alert:
opsgenie:
apiKey: "${file:/config/opsgenie-api-key}"
compact: true

Screenshot

Opsgenie notification screenshot