prometheus: add matrix.pub.solar scrape endpoints

For docs, see:
https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-prometheus-grafana.md
This commit is contained in:
teutat3s 2022-07-11 16:26:14 +02:00
parent ee8281563f
commit c682a97746
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -38,3 +38,27 @@ scrape_configs:
static_configs:
- targets: ["cloud.pub.solar:443"]
- job_name: "matrix_pub_solar_node_exporter"
# metrics_path defaults to '/metrics'
metrics_path: /metrics/node-exporter
# scheme defaults to 'http'.
scheme: https
basic_auth:
username: crew@pub.solar
password: '$2b$12$UPWIvXPAGVDC3KEMuHpEMujwLfPUL0RQS7svuo2RZAScsjVwsE.k6'
static_configs:
- targets: ["matrix.pub.solar:443"]
- job_name: "matrix_pub_solar_synapse"
# metrics_path defaults to '/metrics'
metrics_path: /metrics/synapse/main-process
# scheme defaults to 'http'.
scheme: https
basic_auth:
username: crew@pub.solar
password: '$2b$12$UPWIvXPAGVDC3KEMuHpEMujwLfPUL0RQS7svuo2RZAScsjVwsE.k6'
static_configs:
- targets: ["matrix.pub.solar:443"]