Skip to content

Commit

Permalink
Update alert metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooli Tayer committed Aug 30, 2017
1 parent 3616a5b commit 9f4ad80
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion examples/prometheus/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,18 @@ objects:
- alert: Node Down
expr: up{job="kubernetes-nodes"} == 0
annotations:
miqTarget: "ContainerNode"
severity: "HIGH"
message: "{{$labels.instance}} is down"
#
# Example alert with annotations needed for ManageIQ alert collection.
#
- alert: "ManageIQ test alert"
expr: up{job="kubernetes-nodes"} == 1
annotations:
miqTarget: "ContainerNode"
severity: "HIGH"
url: "https://www.example.com/fixing_instructions"
message: "Alerts configured correctly! ContainerNode {{$labels.instance}} is up"
prometheus.yml: |
rule_files:
- 'prometheus.rules'
Expand Down

0 comments on commit 9f4ad80

Please sign in to comment.