Add matrix-media-repo to prometheus

This commit is contained in:
BBaoVanC 2021-08-28 20:46:44 -05:00
parent f88ecf071e
commit 2cda0911a2

View File

@ -1,11 +1,4 @@
scrape_configs: scrape_configs:
#- job_name: "caddy"
# scrape_interval: 15s
# static_configs:
# - targets: ["host.docker.internal:2020"]
# labels:
# instance: "boba.best"
- job_name: "synapse" - job_name: "synapse"
scrape_interval: 15s scrape_interval: 15s
metrics_path: "/_synapse/metrics" metrics_path: "/_synapse/metrics"
@ -58,8 +51,9 @@ scrape_configs:
job: "federation_sender" job: "federation_sender"
index: 4 index: 4
- targets: ["media:8008"] - job_name: "matrix-media-repo"
scrape_interval: 15s
static_configs:
- targets: ["media-repo:9000"]
labels: labels:
instance: "matrix.boba.best" instance: "matrix.boba.best"
job: "media_repository"
index: 1