Open
Description
I need to add documentation to https://kubernetes-csi.github.io/docs/sidecar-containers.html
Background:
A new CSI Metrics Library was added to csi-lib-utils
in and is part of v0.7.0 release. This library can be used to automatically generate Prometheus metrics for all CSI operations including total count, error count, and call latency. This library was integrated in to the following CSI Sidecar containers:
- Add prometheus metrics to CSI external-provisioner using new csi-lib-utils library external-provisioner#388
- Add prometheus metrics to CSI external-attacher using new csi-lib-utils library external-attacher#201
- Add prometheus metrics to CSI external-snapshotter using new csi-lib-utils library external-snapshotter#227
- Add prometheus metrics to CSI external-resizer using new csi-lib-utils library external-resizer#67
New flags “--metrics-address” or “--metrics-path” are now part of all 4 of those sidecars. Driver deployments should set those flags to ensure the metrics are being emitted.