2019-04-24 18:18:44 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=sls
|
|
|
|
|
2019-10-04 01:16:27 +02:00
|
|
|
{#- Get the `tplroot` from `tpldir` #}
|
|
|
|
{%- set tplroot = tpldir.split('/')[0] %}
|
|
|
|
{%- from tplroot ~ "/map.jinja" import prometheus with context %}
|
|
|
|
|
2019-04-24 18:18:44 +02:00
|
|
|
include:
|
2019-06-22 19:24:19 +02:00
|
|
|
- .users
|
2019-06-16 02:33:24 +02:00
|
|
|
- .args
|
|
|
|
- .file
|
2019-10-04 01:16:27 +02:00
|
|
|
{%- if 'node_exporter' in prometheus.wanted %}
|
|
|
|
- .node_exporter.textfile_collectors
|
|
|
|
{%- endif %}
|