- New headless Service matrix-synapse-metrics exposing port 9090 (Synapse's /_synapse/metrics listener), labeled matrix_metrics=enabled - VictoriaMetrics scrape job 'matrix' targets endpoints in matrix ns with that label + port name 'metrics' - Grafana picks up the official Synapse dashboard from element-hq/synapse v1.152.0 contrib/grafana/synapse.json via URL Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
505 B
YAML
22 lines
505 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
a8r.io/repository: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
labels:
|
|
matrix_metrics: enabled
|
|
name: matrix-synapse-metrics
|
|
namespace: matrix
|
|
spec:
|
|
clusterIP: None
|
|
ports:
|
|
- name: metrics
|
|
port: 9090
|
|
protocol: TCP
|
|
targetPort: metrics
|
|
selector:
|
|
app.kubernetes.io/component: synapse
|
|
app.kubernetes.io/instance: matrix-synapse
|
|
app.kubernetes.io/name: matrix-synapse
|
|
type: ClusterIP
|