lib-volume-populator icon indicating copy to clipboard operation
lib-volume-populator copied to clipboard

Track PVC bound time in volume populator

Open Rishita-Golla opened this issue 1 year ago • 3 comments

Description

Currently, the volume populator library lacks a metric to track the time it takes for a PVC to transition to the "bound" state. This metric would be valuable for understanding volume provisioning performance.

Proposed Solution

Introduce a new metric within the volume populator library that measures the time elapsed between the following events: Start Time: When the volume populator begins processing a PVC request. This might not align with the PVC creation time, especially for populators using the WaitForFirstConsumer binding mode. End Time: When the PVC reaches the "bound" state, indicating successful binding to a PersistentVolume (PV).

This metric provides insights into the efficiency of volume provisioning. Increased PVC bound times could signal underlying issues with storage provisioning or the volume populator itself. This metric is relevant across all volume populator types and is not specific to any particular storage backend.

Rishita-Golla avatar Nov 14 '24 01:11 Rishita-Golla

Note: this is a feature request of adding kube_state_metrics but NOT required for GA for lib-volume-populator.

Also "how long it takes for a pvc to be bound" is generic and not specific to lib-volume-populator. A discussion is needed for where to add such metrics.

sunnylovestiramisu avatar Jan 02 '25 17:01 sunnylovestiramisu

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 02 '25 18:04 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar May 02 '25 19:05 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Jun 01 '25 20:06 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Jun 01 '25 20:06 k8s-ci-robot