mirror of https://github.com/k3s-io/k3s
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. #56444pull/6/head
commit
3465aa93bf
|
@ -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(),
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue