package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
NewOperationStartTimeCache creates a operation timestamp cache.
RecordMetric records either an error count metric or a latency metric if there exists a start timestamp entry in the cache.
RecordRetroactiveStorageClassMetric increments only retroactive_storageclass_total metric or both retroactive_storageclass_total and retroactive_storageclass_errors_total if success is false.
RecordVolumeOperationErrorMetric records error count into metric volume_operation_total_errors for provisioning/deletion operations.
Register all metrics for pv controller.
# Structs
OperationStartTimeCache concurrent safe cache for operation start timestamps.