const namespace …
const subsystem …
const FromStorageLabel …
const ToStorageLabel …
type metricLabels …
var lockLastFromStorage …
var lockLastToStorage …
var lockRecordKeyID …
var lockRecordKeyIDStatus …
var lastFromStorage …
var lastToStorage …
var keyIDHashTotalMetricLabels …
var keyIDHashStatusLastTimestampSecondsMetricLabels …
var cacheSize …
var dekCacheFillPercent …
var dekCacheInterArrivals …
var KMSOperationsLatencyMetric …
var KeyIDHashTotal …
var KeyIDHashLastTimestampSeconds …
var KeyIDHashStatusLastTimestampSeconds …
var InvalidKeyIDFromStatusTotal …
var DekSourceCacheSize …
var registerMetricsFunc …
var hashPool …
func registerLRUMetrics() { … }
func RegisterMetrics() { … }
func RecordKeyID(transformationType, providerName, keyID, apiServerID string) { … }
func RecordKeyIDFromStatus(providerName, keyID, apiServerID string) { … }
func RecordInvalidKeyIDFromStatus(providerName, errCode string) { … }
func RecordArrival(transformationType string, start time.Time) { … }
func RecordDekCacheFillPercent(percent float64) { … }
func RecordDekSourceCacheSize(providerName string, size int) { … }
func RecordKMSOperationLatency(providerName, methodName string, duration time.Duration, err error) { … }
type gRPCError …
func getErrorCode(err error) string { … }
func getHash(data string) string { … }
func addLabelToCache(c *lru.Cache, transformationType, providerName, keyID, apiServerID string) (string, string) { … }