mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Add metric for reporting total end-to-end mount time
This metric includes time spent in waiting for devices to be attached, any RPC calls and performing recursive chown etc.
This commit is contained in:
@@ -387,6 +387,9 @@ type VolumeToMount struct {
|
||||
// DesiredSizeLimit indicates the desired upper bound on the size of the volume
|
||||
// (if so implemented)
|
||||
DesiredSizeLimit *resource.Quantity
|
||||
|
||||
// time at which volume was requested to be mounted
|
||||
MountRequestTime time.Time
|
||||
}
|
||||
|
||||
// DeviceMountState represents device mount state in a global path.
|
||||
|
||||
Reference in New Issue
Block a user