Merge pull request #56444 from mikedanese/morebuckets

Automatic merge from submit-queue (batch tested with PRs 55360, 56444, 56687, 56791, 56802). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

certs: add month buckets to expiration metric

7 days isn't enough warning for cert expiration alerting.

#56444

Kubernetes-commit: 3465aa93bf08fa435bd36b658e8839a3984cdd5e
This commit is contained in:
Kubernetes Publisher 2017-12-04 13:40:14 -08:00
commit 73f85001b5
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ var clientCertificateExpirationHistogram = prometheus.NewHistogram(
(2 * 24 * time.Hour).Seconds(),
(4 * 24 * time.Hour).Seconds(),
(7 * 24 * time.Hour).Seconds(),
(30 * 24 * time.Hour).Seconds(),
(3 * 30 * 24 * time.Hour).Seconds(),
(6 * 30 * 24 * time.Hour).Seconds(),
(12 * 30 * 24 * time.Hour).Seconds(),
},
},
)