Add snmp job option "metric_relabel_configs"
This commit is contained in:
parent
eacbae416c
commit
25d4f4fb7f
1 changed files with 6 additions and 0 deletions
|
|
@ -111,6 +111,12 @@
|
||||||
{% for relabel_config in job.relabel_configs|d([]) %}
|
{% for relabel_config in job.relabel_configs|d([]) %}
|
||||||
- {{ relabel_config|tojson }}
|
- {{ relabel_config|tojson }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if job.metric_relabel_configs|d([]) %}
|
||||||
|
metric_relabel_configs:
|
||||||
|
{% for metric_relabel_config in job.metric_relabel_configs|d([]) %}
|
||||||
|
- {{ metric_relabel_config|tojson }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue