alibaba / open-local

cloud-native local storage management system for stateful workload, low-latency with simplicity
Apache License 2.0
460 stars 81 forks source link

What do I need to do to activate surveillance #243

Closed yanyanguo closed 9 months ago

yanyanguo commented 9 months ago

Question

I added annotations under the pod of the open local agent workload ds, and the annotations for obtaining the pod are as follows

apiVersion: v1 kind: Pod metadata: annotations: prometheus.io/path: /metrics prometheus.io/port: "9100" prometheus.io/scrape: "true" ...

But the monitoring is not enabled. How can we solve this? Or is there any prompt in the document

yanyanguo commented 9 months ago

This open local schedule extender component pod has metrics data for port 23000

The rule yaml of Prometheuses can be configured through SVC as follows: