diff --git a/monitoring/prometheus/src/etc/prometheus/prometheus.yml b/monitoring/prometheus/src/etc/prometheus/prometheus.yml index b960f93..de30573 100644 --- a/monitoring/prometheus/src/etc/prometheus/prometheus.yml +++ b/monitoring/prometheus/src/etc/prometheus/prometheus.yml @@ -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"]