configpolicy/roles/vmalert/templates/vmalert.sysconfig.j2

13 lines
361 B
Django/Jinja

{% if vmalert_datasource_url|d %}
datasource_url={{ vmalert_datasource_url }}
{% endif %}
{% if vmalert_notifier_url|d %}
notifier_url={{ vmalert_notifier_url }}
{% endif %}
{% if vmalert_remote_read_url|d %}
remoteRead_url={{ vmalert_remote_read_url }}
{% endif %}
{% if vmalert_remote_write_url|d %}
remoteWrite_url={{ vmalert_remote_write_url }}
{% endif %}