Add soft parameters for the main Prometheus options
Change-Id: Ia189d8f569c16814b1008815704b32283d032be7
This commit is contained in:
parent
bd8f62f433
commit
af5d9a9503
1 changed files with 11 additions and 5 deletions
|
@ -3,6 +3,12 @@ applications:
|
||||||
classes:
|
classes:
|
||||||
- service.prometheus.support
|
- service.prometheus.support
|
||||||
parameters:
|
parameters:
|
||||||
|
_param:
|
||||||
|
prometheus_evaluation_interval: "15s"
|
||||||
|
prometheus_region_label: "region1"
|
||||||
|
prometheus_scrape_interval: "15s"
|
||||||
|
prometheus_storage_retention: "360h"
|
||||||
|
prometheus_storage_heap_size: 3221225472
|
||||||
prometheus:
|
prometheus:
|
||||||
server:
|
server:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -16,15 +22,15 @@ parameters:
|
||||||
storage:
|
storage:
|
||||||
local:
|
local:
|
||||||
engine: "persisted"
|
engine: "persisted"
|
||||||
retention: "360h"
|
retention: ${_param:prometheus_storage_retention}
|
||||||
target_heap_size: 3221225472
|
target_heap_size: ${_param:prometheus_storage_heap_size}
|
||||||
num_fingerprint_mutexes: 4096
|
num_fingerprint_mutexes: 4096
|
||||||
alertmanager:
|
alertmanager:
|
||||||
notification_queue_capacity: 10000
|
notification_queue_capacity: 10000
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
scrape_interval: "15s"
|
scrape_interval: ${_param:prometheus_scrape_interval}
|
||||||
scrape_timeout: "15s"
|
scrape_timeout: "15s"
|
||||||
evaluation_interval: "1m"
|
evaluation_interval: ${_param:prometheus_evaluation_interval}
|
||||||
external_labels:
|
external_labels:
|
||||||
region: 'region1'
|
region: ${_param:prometheus_region_label}
|
||||||
|
|
Loading…
Reference in a new issue