add more service monitor examples

This commit is contained in:
Nico Schottelius 2023-07-17 13:42:24 +02:00
parent ed1497b620
commit 1dbeeec338
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,15 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: matrix-nicotest
labels:
team: frontend
spec:
selector:
matchLabels:
app.kubernetes.io/component: matrix-synapse
endpoints:
- port: synapse
path: "/_synapse/metrics"
namespaceSelector:
any: true

View file

@ -0,0 +1,13 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: matrix-nicotest
labels:
team: frontend
spec:
selector:
matchLabels:
app.kubernetes.io/component: matrix-synapse
endpoints:
- port: synapse
path: "/_synapse/metrics"

View file

@ -0,0 +1,14 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: matrix-nicotest
labels:
team: frontend
spec:
selector:
matchLabels:
app.kubernetes.io/component: matrix-synapse
app.kubernetes.io/instance: matrix-nicotest
endpoints:
- port: synapse
path: "/_synapse/metrics"