Add snmp job option "metric_relabel_configs"

This commit is contained in:
Julian Rother 2025-08-12 23:35:21 +02:00
parent eacbae416c
commit 25d4f4fb7f
Signed by: julian
GPG key ID: C19B924C0CD13341

View file

@ -111,6 +111,12 @@
{% for relabel_config in job.relabel_configs|d([]) %}
- {{ relabel_config|tojson }}
{% 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 %}
{% endif %}