Created
December 12, 2019 10:57
-
-
Save mustafaakin/8839301694f6e855e1a234382fed639d to your computer and use it in GitHub Desktop.
Receiver configuration for Kubernetes Event Exporter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
receivers: | |
- name: "alerts" | |
opsgenie: | |
apiKey: xxx | |
priority: "P3" | |
message: "Event {{ .Reason }} for {{ .InvolvedObject.Namespace }}/{{ .InvolvedObject.Name }} on K8s cluster" | |
alias: "{{ .UID }}" | |
description: "<pre>{{ toPrettyJson . }}</pre>" | |
tags: | |
- "event" | |
- "{{ .Reason }}" | |
- "{{ .InvolvedObject.Kind }}" | |
- "{{ .InvolvedObject.Name }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment