[stable/prometheus] Add example alert config (#966) (#8191)

* [stable/prometheus] Add example alert config (#966)

Signed-off-by: Anton Huck <anton.huck@netlight.com>

* [stable/prometheus] Remove trailing slash

Signed-off-by: Anton Huck <anton.huck@netlight.com>
This commit is contained in:
Anton Huck
2018-11-02 06:28:29 -07:00
committed by k8s-ci-robot
parent b083549b79
commit d5a25c6534
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 7.3.4
version: 7.3.5
appVersion: 2.4.3
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
+15
View File
@@ -816,7 +816,22 @@ alertmanagerFiles:
## Prometheus server ConfigMap entries
##
serverFiles:
## Alerts configuration
## Ref: https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
alerts: {}
# groups:
# - name: Instances
# rules:
# - alert: InstanceDown
# expr: up == 0
# for: 5m
# labels:
# severity: page
# annotations:
# description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.'
# summary: 'Instance {{ $labels.instance }} down'
rules: {}
prometheus.yml: