const kubeletSubsystem … var HTTPRequests … var HTTPRequestsDuration … var HTTPInflightRequests … var VolumeStatCalDuration … var registerMetrics … // Register all metrics. func Register() { … } // SinceInSeconds gets the time since the specified start in seconds. func SinceInSeconds(start time.Time) float64 { … } // CollectVolumeStatCalDuration collects the duration in seconds to calculate volume stats. func CollectVolumeStatCalDuration(metricSource string, start time.Time) { … }