package metrics
import "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/metrics"
Index ¶
- func RecordVolumeOperationMetric(pluginName, opName string, timeTaken float64, err error)
- func Register(pvLister PVLister, pvcLister PVCLister)
- type PVCLister
- type PVLister
Functions ¶
func RecordVolumeOperationMetric ¶
RecordVolumeOperationMetric records the latency and errors of volume operations.
func Register ¶
Register all metrics for pv controller.
Types ¶
type PVCLister ¶
type PVCLister interface {
List() []interface{}
}
PVCLister used to list persistent volume claims.
type PVLister ¶
type PVLister interface {
List() []interface{}
}
PVLister used to list persistent volumes.
Source Files ¶
metrics.go
- Version
- v1.14.7-beta.0
- Published
- Aug 19, 2019
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.