Skip to content
Snippets Groups Projects
Commit a93cffab authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Merge branch 'prometheus_matrix_metrics' into 'master'

prometheus: add matrix metrics and dashboard

Closes #290

See merge request !473
parents caa81be7 24746910
No related branches found
No related tags found
1 merge request!473prometheus: add matrix metrics and dashboard
Pipeline #10057 passed
This diff is collapsed.
......@@ -60,3 +60,9 @@ blackbox_targets:
smtp_starttls:
- mail.archlinux.org:25
- lists.archlinux.org:25
matrix_metrics_endpoints:
- homeserver
- appservice
- federation_reader
- federation_writer
- media_repository
......@@ -153,4 +153,16 @@ scrape_configs:
- target_label: __address__
replacement: 127.0.0.1:9115
{% endfor %}
{% for endpoint in matrix_metrics_endpoints %}
- job_name: 'synapse_{{ endpoint }}'
scrape_interval: 15s
metrics_path: "/metrics/synapse.{{ endpoint }}"
scheme: https
basic_auth:
username: {{ vault_matrix_secrets.metrics_user }}
password: {{ vault_matrix_secrets.metrics_password }}
static_configs:
- targets: ["matrix.archlinux.org:443"]
{% endfor %}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment