af5d9a9503
Change-Id: Ia189d8f569c16814b1008815704b32283d032be7
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
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_storage_heap_size: 3221225472
|
|
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:
|
|
engine: "persisted"
|
|
retention: ${_param:prometheus_storage_retention}
|
|
target_heap_size: ${_param:prometheus_storage_heap_size}
|
|
num_fingerprint_mutexes: 4096
|
|
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}
|