add more service monitor examples
This commit is contained in:
parent
ed1497b620
commit
1dbeeec338
3 changed files with 42 additions and 0 deletions
|
@ -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
|
|
@ -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"
|
|
@ -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"
|
Loading…
Reference in a new issue