github.com/csi-driver/blobfuse-csi-driver@v0.5.0/deploy/example/metrics/README.md (about) 1 # Get Prometheus metrics from CSI driver 2 3 1. Create `csi-blobfuse-controller` service with targetPort `29624` 4 ```console 5 kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/deploy/example/metrics/csi-blobfuse-controller-svc.yaml 6 ``` 7 8 2. Get ClusterIP of service `csi-blobfuse-controller` 9 ```console 10 $ kubectl get svc csi-blobfuse-controller -n kube-system 11 NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE 12 csi-blobfuse-controller ClusterIP 10.0.156.8 <none> 29624/TCP 32m 13 ``` 14 15 3. Run following command to get cloudprovider_azure metrics 16 ```console 17 curl http://{CLUSTER-IP}:29624/metrics | grep cloudprovider_azure 18 ```