started support for more then node exporter
This commit is contained in:
parent
246842b66e
commit
0494c4907a
4 changed files with 15 additions and 13 deletions
|
|
@ -2,9 +2,7 @@
|
|||
# Due to shell scaping, to pass backslashes for regexes, you need to double
|
||||
# them (\\d for \d). If running under systemd, you need to double them again
|
||||
# (\\\\d to mean \d), and escape newlines too.
|
||||
ARGS="{% for i in prometheus_agent.args %} --{{ i }}{% if prometheus_agent.args[i] and prometheus_agent.args[i] != {} %}={{ prometheus_agent.args[i] }}{% endif %} {% endfor %}"
|
||||
|
||||
#{{ prometheus_agent.args.keys()|list|join(' ') }}"
|
||||
ARGS="{% for i in prometheus_agent.agents.nodeexporter.args %} --{{ i }}{% if prometheus_agent.agents.nodeexporter.args[i] and prometheus_agent.agents.nodeexporter.args[i] != {} %}={{ prometheus_agent.agents.nodeexporter.args[i] }}{% endif %} {% endfor %}"
|
||||
|
||||
# Prometheus-node-exporter supports the following options:
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue