mirror of
https://gitea.0xace.cc/ansible-galaxy/victoriametrics.git
synced 2024-11-24 23:56:39 +00:00
add /api/v1/import for vmauth urls
This commit is contained in:
parent
3a6431deac
commit
3750b0b72e
@ -87,7 +87,9 @@ users:
|
|||||||
{% for select in groups[victoriametrics_vmselect_group] %}
|
{% for select in groups[victoriametrics_vmselect_group] %}
|
||||||
- "http://{{ hostvars[select]['inventory_hostname'] }}:8481/select/{{ user.id }}/prometheus"
|
- "http://{{ hostvars[select]['inventory_hostname'] }}:8481/select/{{ user.id }}/prometheus"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
- src_paths: ["/api/v1/write"]
|
- src_paths:
|
||||||
|
- "/api/v1/write"
|
||||||
|
- "/api/v1/import"
|
||||||
url_prefix:
|
url_prefix:
|
||||||
{% for insert in groups[victoriametrics_vminsert_group] %}
|
{% for insert in groups[victoriametrics_vminsert_group] %}
|
||||||
- "http://{{ hostvars[insert]['inventory_hostname'] }}:8480/insert/{{ user.id }}/prometheus"
|
- "http://{{ hostvars[insert]['inventory_hostname'] }}:8480/insert/{{ user.id }}/prometheus"
|
||||||
|
Loading…
Reference in New Issue
Block a user