This repository has been archived on 2022-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
synapse/conf/prometheus.yml

60 lines
1.5 KiB
YAML

scrape_configs:
- job_name: "synapse"
scrape_interval: 15s
metrics_path: "/_synapse/metrics"
static_configs:
- targets: ["synapse:8008"]
labels:
instance: "matrix.boba.best"
job: "master"
index: 1
- targets: ["generic1:8008"]
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 1
- targets: ["generic2:8008"]
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 2
- targets: ["generic3:8008"]
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 3
- targets: ["generic4:8008"]
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 4
- targets: ["sender1:8008"]
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 1
- targets: ["sender2:8008"]
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 2
- targets: ["sender3:8008"]
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 3
- targets: ["sender4:8008"]
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 4
- job_name: "matrix-media-repo"
scrape_interval: 15s
static_configs:
- targets: ["media-repo:9000"]
labels:
instance: "matrix.boba.best"