Skip to content

Commit

Permalink
add entity-operator monitor (stolostron#898)
Browse files Browse the repository at this point in the history
Signed-off-by: ldpliu <[email protected]>
  • Loading branch information
ldpliu authored Apr 25, 2024
1 parent 1982fe1 commit 465862b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions operator/pkg/controllers/hubofhubs/manifests/kafka/podmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ spec:
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: entity-operator-metrics
namespace: {{.Namespace}}
labels:
app: strimzi
spec:
selector:
matchLabels:
app.kubernetes.io/name: entity-operator
namespaceSelector:
matchNames:
- {{.Namespace}}
podMetricsEndpoints:
- path: /metrics
port: healthcheck
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: kafka-resources-metrics
namespace: {{.Namespace}}
Expand Down

0 comments on commit 465862b

Please sign in to comment.