diff --git a/templates/etc/victoriametrics/vmauth/config.yml.j2 b/templates/etc/victoriametrics/vmauth/config.yml.j2 index cedc0c9..aba8fac 100644 --- a/templates/etc/victoriametrics/vmauth/config.yml.j2 +++ b/templates/etc/victoriametrics/vmauth/config.yml.j2 @@ -87,7 +87,9 @@ users: {% for select in groups[victoriametrics_vmselect_group] %} - "http://{{ hostvars[select]['inventory_hostname'] }}:8481/select/{{ user.id }}/prometheus" {% endfor %} - - src_paths: ["/api/v1/write"] + - src_paths: + - "/api/v1/write" + - "/api/v1/import" url_prefix: {% for insert in groups[victoriametrics_vminsert_group] %} - "http://{{ hostvars[insert]['inventory_hostname'] }}:8480/insert/{{ user.id }}/prometheus"