-
Notifications
You must be signed in to change notification settings - Fork 760
Description
I am currently attempting to develop my own Helm chart for deploying the rustfs cluster. My cluster environment has already deployed the kube-prome-stack. I hope to configure the ServiceMonitor CRD resource of the prometheus-operator in the helm chart to automatically collect metric data for rustfs.
But it seems that I can't figure out how to obtain the access endpoint for the metrics of the rustfs service. I attempted to access http://127.0.0.1:9000/metrics, but it didn't work.
Although I saw in the docker-compose of the project that for rustfs, the RUSTFS_OBS_ENDPOINT was configured to send OTel-formatted data to the collector. However, in a simple cloud-native environment, it seems more straightforward and flexible to use the prometheus-operator to automatically discover by configuring the ServiceMonitor CRD resource for the helm chart.