Added synapse monitoring

This commit is contained in:
Marcus Noble 2021-12-31 18:53:56 +00:00
parent 18f748f010
commit 2d6756aca9
2 changed files with 12 additions and 0 deletions

View File

@ -108,6 +108,10 @@ spec:
port: 80 port: 80
replicaCount: 1 replicaCount: 1
resources: {} resources: {}
metrics:
enabled: true
port: 9000
annotations: true
riot: riot:
enabled: true enabled: true

View File

@ -306,6 +306,14 @@ data:
- source_labels: [__meta_kubernetes_endpoints_name] - source_labels: [__meta_kubernetes_endpoints_name]
regex: 'node-exporter' regex: 'node-exporter'
action: keep action: keep
- job_name: "synapse"
scrape_interval: 15s
metrics_path: "/_synapse/metrics"
static_configs:
- targets: ["chat-matrix-synapse.chat.svc:9092"]
recording_rules.yml: | recording_rules.yml: |
{} {}
rules: | rules: |