597b0678bf
Replace '-' to '_' in prometheus config dir Add possibility to add recording rules Change-Id: Ifc85a95ae62cb0f1b810a3b4f718e8d92f9c6209
16 lines
467 B
Django/Jinja
16 lines
467 B
Django/Jinja
{% set server = salt['grains.filter_by']({
|
|
'default': {
|
|
'dir': {
|
|
'config': '/srv/volumes/prometheus',
|
|
'config_in_container': '/opt/prometheus/config'
|
|
},
|
|
},
|
|
}, merge=salt['pillar.get']('prometheus:server')) %}
|
|
|
|
{% set alertmanager = salt['grains.filter_by']({
|
|
'default': {
|
|
'dir': {
|
|
'config': '/srv/volumes/prometheus',
|
|
},
|
|
},
|
|
}, merge=salt['pillar.get']('prometheus:alertmanager')) %}
|