Fix hostnames in prometheus.yml

This commit is contained in:
BBaoVanC 2021-08-07 15:40:47 -05:00
parent ccd4f2699f
commit 66fe5554e8

View File

@ -10,55 +10,55 @@ scrape_configs:
scrape_interval: 15s scrape_interval: 15s
metrics_path: "/_synapse/metrics" metrics_path: "/_synapse/metrics"
static_configs: static_configs:
- targets: ["synapse_synapse:8008"] - targets: ["synapse:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "master" job: "master"
index: 1 index: 1
- targets: ["synapse_generic1:8008"] - targets: ["generic1:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "generic_worker" job: "generic_worker"
index: 1 index: 1
- targets: ["synapse_generic2:8008"] - targets: ["generic2:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "generic_worker" job: "generic_worker"
index: 2 index: 2
- targets: ["synapse_generic3:8008"] - targets: ["generic3:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "generic_worker" job: "generic_worker"
index: 3 index: 3
- targets: ["synapse_generic4:8008"] - targets: ["generic4:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "generic_worker" job: "generic_worker"
index: 4 index: 4
- targets: ["synapse_sender1:8008"] - targets: ["sender1:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "federation_sender" job: "federation_sender"
index: 1 index: 1
- targets: ["synapse_sender2:8008"] - targets: ["sender2:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "federation_sender" job: "federation_sender"
index: 2 index: 2
- targets: ["synapse_sender3:8008"] - targets: ["sender3:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "federation_sender" job: "federation_sender"
index: 3 index: 3
- targets: ["synapse_sender4:8008"] - targets: ["sender4:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "federation_sender" job: "federation_sender"
index: 4 index: 4
- targets: ["synapse_media:8008"] - targets: ["media:8008"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "media_repository" job: "media_repository"