Import prometheus.server in collector
Change-Id: I42e17bd63df43d9bfec3a302bfecf5290c69e0a8
This commit is contained in:
parent
1404088f3c
commit
c9e81f45db
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
{%- from "prometheus/map.jinja" import server as prometheus_server with context %}
|
||||
|
||||
{%- set service_grains = {'prometheus': {'server': {'alert': {}, 'recording': {}, 'target': {}}}} %}
|
||||
{%- for service_name, service in pillar.items() %}
|
||||
{%- if service.get('_support', {}).get('prometheus', {}).get('enabled', False) %}
|
||||
|
|
Loading…
Reference in a new issue