diff --git a/app/vmauth/README.md b/app/vmauth/README.md index 0afa6fb9d..34333e2f2 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -100,7 +100,10 @@ users: # - Requests to http://vmauth:8427/api/v1/write are proxied to http://vminsert:8480/insert/42/prometheus/api/v1/write - username: "foobar" url_map: - - src_paths: ["/api/v1/query", "/api/v1/query_range", "/api/v1/label/[^/]+/values"] + - src_paths: + - "/api/v1/query" + - "/api/v1/query_range" + - "/api/v1/label/[^/]+/values" url_prefix: - "http://vmselect1:8481/select/42/prometheus" - "http://vmselect2:8481/select/42/prometheus" diff --git a/app/vmauth/example_config.yml b/app/vmauth/example_config.yml index ece9b9994..01e497dfc 100644 --- a/app/vmauth/example_config.yml +++ b/app/vmauth/example_config.yml @@ -60,7 +60,10 @@ users: # - Requests to http://vmauth:8427/api/v1/write are proxied to http://vminsert:8480/insert/42/prometheus/api/v1/write - username: "foobar" url_map: - - src_paths: ["/api/v1/query", "/api/v1/query_range", "/api/v1/label/[^/]+/values"] + - src_paths: + - "/api/v1/query" + - "/api/v1/query_range" + - "/api/v1/label/[^/]+/values" url_prefix: - "http://vmselect1:8481/select/42/prometheus" - "http://vmselect2:8481/select/42/prometheus" diff --git a/docs/vmauth.md b/docs/vmauth.md index cbca61e7a..6253a1681 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -104,7 +104,10 @@ users: # - Requests to http://vmauth:8427/api/v1/write are proxied to http://vminsert:8480/insert/42/prometheus/api/v1/write - username: "foobar" url_map: - - src_paths: ["/api/v1/query", "/api/v1/query_range", "/api/v1/label/[^/]+/values"] + - src_paths: + - "/api/v1/query" + - "/api/v1/query_range" + - "/api/v1/label/[^/]+/values" url_prefix: - "http://vmselect1:8481/select/42/prometheus" - "http://vmselect2:8481/select/42/prometheus"