kubernetes/staging/src/k8s.io/apiserver/pkg/storage/value/metrics.go

const namespace

const subsystem

var transformerLatencies

var transformerOperationsTotal

var envelopeTransformationCacheMissTotal

var dataKeyGenerationLatencies

var dataKeyGenerationFailuresTotal

var registerMetrics

func RegisterMetrics() {}

// RecordTransformation records latencies and count of TransformFromStorage and TransformToStorage operations.
// Note that transformation_failures_total metric is deprecated, use transformation_operations_total instead.
func RecordTransformation(resource, transformationType, transformerPrefix string, elapsed time.Duration, err error) {}

// RecordCacheMiss records a miss on Key Encryption Key(KEK) - call to KMS was required to decrypt KEK.
func RecordCacheMiss() {}

// RecordDataKeyGeneration records latencies and count of Data Encryption Key generation operations.
func RecordDataKeyGeneration(start time.Time, err error) {}

// sinceInSeconds gets the time since the specified start in seconds.
func sinceInSeconds(start time.Time) float64 {}

type gRPCError

func getErrorCode(err error) string {}