From 66fe5554e84def98c929da3c449efb9ede88620a Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 7 Aug 2021 15:40:47 -0500 Subject: [PATCH] Fix hostnames in prometheus.yml --- conf/prometheus.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/conf/prometheus.yml b/conf/prometheus.yml index 3ba1e4d..a2f1fdc 100644 --- a/conf/prometheus.yml +++ b/conf/prometheus.yml @@ -10,55 +10,55 @@ scrape_configs: scrape_interval: 15s metrics_path: "/_synapse/metrics" static_configs: - - targets: ["synapse_synapse:8008"] + - targets: ["synapse:8008"] labels: instance: "matrix.boba.best" job: "master" index: 1 - - targets: ["synapse_generic1:8008"] + - targets: ["generic1:8008"] labels: instance: "matrix.boba.best" job: "generic_worker" index: 1 - - targets: ["synapse_generic2:8008"] + - targets: ["generic2:8008"] labels: instance: "matrix.boba.best" job: "generic_worker" index: 2 - - targets: ["synapse_generic3:8008"] + - targets: ["generic3:8008"] labels: instance: "matrix.boba.best" job: "generic_worker" index: 3 - - targets: ["synapse_generic4:8008"] + - targets: ["generic4:8008"] labels: instance: "matrix.boba.best" job: "generic_worker" index: 4 - - targets: ["synapse_sender1:8008"] + - targets: ["sender1:8008"] labels: instance: "matrix.boba.best" job: "federation_sender" index: 1 - - targets: ["synapse_sender2:8008"] + - targets: ["sender2:8008"] labels: instance: "matrix.boba.best" job: "federation_sender" index: 2 - - targets: ["synapse_sender3:8008"] + - targets: ["sender3:8008"] labels: instance: "matrix.boba.best" job: "federation_sender" index: 3 - - targets: ["synapse_sender4:8008"] + - targets: ["sender4:8008"] labels: instance: "matrix.boba.best" job: "federation_sender" index: 4 - - targets: ["synapse_media:8008"] + - targets: ["media:8008"] labels: instance: "matrix.boba.best" job: "media_repository"