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

66 lines
1.7 KiB
YAML
Raw Normal View History

2021-08-07 11:48:23 -05:00
scrape_configs:
#- job_name: "caddy"
# scrape_interval: 15s
# static_configs:
# - targets: ["host.docker.internal:2020"]
# labels:
# instance: "boba.best"
- job_name: "synapse"
scrape_interval: 15s
metrics_path: "/_synapse/metrics"
static_configs:
2021-08-07 15:40:47 -05:00
- targets: ["synapse:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "master"
index: 1
2021-08-07 15:40:47 -05:00
- targets: ["generic1:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 1
2021-08-07 15:40:47 -05:00
- targets: ["generic2:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 2
2021-08-07 15:40:47 -05:00
- targets: ["generic3:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 3
2021-08-07 15:40:47 -05:00
- targets: ["generic4:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "generic_worker"
index: 4
2021-08-07 15:40:47 -05:00
- targets: ["sender1:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 1
2021-08-07 15:40:47 -05:00
- targets: ["sender2:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 2
2021-08-07 15:40:47 -05:00
- targets: ["sender3:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 3
2021-08-07 15:40:47 -05:00
- targets: ["sender4:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "federation_sender"
index: 4
2021-08-07 15:40:47 -05:00
- targets: ["media:8008"]
2021-08-07 11:48:23 -05:00
labels:
instance: "matrix.boba.best"
job: "media_repository"
index: 1