Track conf/ with git
This commit is contained in:
parent
4d31752d1a
commit
6558ea9aa5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
.env
|
.env
|
||||||
conf/
|
|
||||||
data/
|
data/
|
||||||
misc/
|
misc/
|
||||||
progs/
|
progs/
|
||||||
|
65
conf/prometheus.yml
Normal file
65
conf/prometheus.yml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
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:
|
||||||
|
- targets: ["synapse_synapse:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "master"
|
||||||
|
index: 1
|
||||||
|
|
||||||
|
- targets: ["synapse_generic1:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "generic_worker"
|
||||||
|
index: 1
|
||||||
|
- targets: ["synapse_generic2:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "generic_worker"
|
||||||
|
index: 2
|
||||||
|
- targets: ["synapse_generic3:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "generic_worker"
|
||||||
|
index: 3
|
||||||
|
- targets: ["synapse_generic4:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "generic_worker"
|
||||||
|
index: 4
|
||||||
|
|
||||||
|
- targets: ["synapse_sender1:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "federation_sender"
|
||||||
|
index: 1
|
||||||
|
- targets: ["synapse_sender2:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "federation_sender"
|
||||||
|
index: 2
|
||||||
|
- targets: ["synapse_sender3:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "federation_sender"
|
||||||
|
index: 3
|
||||||
|
- targets: ["synapse_sender4:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "federation_sender"
|
||||||
|
index: 4
|
||||||
|
|
||||||
|
- targets: ["synapse_media:8008"]
|
||||||
|
labels:
|
||||||
|
instance: "matrix.boba.best"
|
||||||
|
job: "media_repository"
|
||||||
|
index: 1
|
Reference in New Issue
Block a user