formula-prometheus/metadata/service/server/container.yml
Bartosz Kupidura 8bdf3ed090 Add support for prometheus 2.0
New version changes:
* different alerts format
* rewritten storage (some config flags removed)

Closes-Bug: PROD-16609
Change-Id: I805fa322e4744e98177d6c3e29589ebc6fb917a2
2018-01-03 12:26:10 +01:00

32 lines
938 B
YAML

applications:
- prometheus
classes:
- service.prometheus.support
parameters:
_param:
prometheus_evaluation_interval: "15s"
prometheus_region_label: "region1"
prometheus_scrape_interval: "15s"
prometheus_storage_retention: "360h"
prometheus:
server:
enabled: true
dir:
config: /srv/volumes/prometheus/server
config_in_container: /srv/prometheus
data: /srv/volumes/local/prometheus/server
bind:
port: 9090
address: 0.0.0.0
storage:
local:
retention: ${_param:prometheus_storage_retention}
alertmanager:
notification_queue_capacity: 10000
config:
global:
scrape_interval: ${_param:prometheus_scrape_interval}
scrape_timeout: "15s"
evaluation_interval: ${_param:prometheus_evaluation_interval}
external_labels:
region: ${_param:prometheus_region_label}