ddc9a92a86
Change-Id: Ic1e4362f4d36d30283a5963f4e82b3e54ca51724 Related-Bug: PROD-21820
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
applications:
|
|
- prometheus
|
|
classes:
|
|
- service.prometheus.support
|
|
parameters:
|
|
_param:
|
|
prometheus_am_queue_capacity: 10000
|
|
prometheus_evaluation_interval: "15s"
|
|
prometheus_region_label: "region1"
|
|
prometheus_scrape_interval: "15s"
|
|
prometheus_scrape_timeout: "15s"
|
|
prometheus_storage_retention: "360h"
|
|
prometheus:
|
|
server:
|
|
enabled: true
|
|
is_container: true
|
|
use_grains:
|
|
target: true
|
|
recording: true
|
|
alert: 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: ${_param:prometheus_am_queue_capacity}
|
|
config:
|
|
global:
|
|
scrape_interval: ${_param:prometheus_scrape_interval}
|
|
scrape_timeout: ${_param:prometheus_scrape_timeout}
|
|
evaluation_interval: ${_param:prometheus_evaluation_interval}
|
|
external_labels:
|
|
region: ${_param:prometheus_region_label}
|