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 bbd54a6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
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
11 changes: 10 additions & 1 deletion pkg/oc/bootstrap/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion test/extended/testdata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bbd54a6

Please sign in to comment.