kmsv2: retain more key ID metrics
This change helps users understand the state of their encryption config if storage migration is not consistently run with key ID rotation. Signed-off-by: Monis Khan <mok@microsoft.com> Kubernetes-commit: 539f734bfd0d828a5b3dfbfe30df9d4229e6492c
This commit is contained in:
parent
8944b1509f
commit
f051b13244
|
@ -64,7 +64,7 @@ var (
|
|||
lastToStorage time.Time
|
||||
keyIDHashTotalMetricLabels *lru.Cache
|
||||
keyIDHashStatusLastTimestampSecondsMetricLabels *lru.Cache
|
||||
cacheSize int = 10
|
||||
cacheSize = 100
|
||||
|
||||
// This metric is only used for KMS v1 API.
|
||||
dekCacheFillPercent = metrics.NewGauge(
|
||||
|
|
Loading…
Reference in New Issue