Verified Commit 671f01e2 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Use a token for matrix synapse prometheus auth

parent 06dc748a
......@@ -159,9 +159,8 @@ scrape_configs:
scrape_interval: 15s
metrics_path: "/metrics/synapse.{{ endpoint }}"
scheme: https
basic_auth:
username: {{ vault_matrix_secrets.metrics_user }}
password: {{ vault_matrix_secrets.metrics_password }}
authorization:
credentials: {{ vault_matrix_secrets.metrics_token }}
static_configs:
- targets: ["matrix.archlinux.org:443"]
{% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment