Skip to content

feat: Support Prometheus metrics for CSI and kubelet with Grafana dashboard#10

Open
sheyabernstein wants to merge 1 commit intomainfrom
feat/metrics
Open

feat: Support Prometheus metrics for CSI and kubelet with Grafana dashboard#10
sheyabernstein wants to merge 1 commit intomainfrom
feat/metrics

Conversation

@sheyabernstein
Copy link
Collaborator

Summary

  • Instruments CSI operations (attach, detach, node stage/unstage, publish/unpublish) with latency histograms, total counters, and error counters via named return + deferred ObserveCSIOperation
  • Adds csi_volume_attachments_total gauge tracking volumes currently mounted per node, incremented/decremented in NodePublishVolume / NodeUnpublishVolume
  • Implements NodeGetVolumeStats (was a stub) to return byte and inode usage, enabling kubelet_volume_stats_* metrics
  • Adds Helm values for metrics.serviceMonitor (creates headless + ClusterIP Services and a ServiceMonitor CR) and metrics.dashboards (ConfigMap for Grafana sidecar)
  • Grafana dashboard with CSI operation panels and a PVC usage table (capacity, used, available, LCD gauge for usage %)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant