mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Merge pull request #74806 from mxinden/increase-bucket-resolution
src/k8s.io/apiserver: Increase cert expiration histogram resolution
This commit is contained in:
commit
c54978a6cf
@ -39,6 +39,9 @@ var clientCertificateExpirationHistogram = prometheus.NewHistogram(
|
|||||||
Help: "Distribution of the remaining lifetime on the certificate used to authenticate a request.",
|
Help: "Distribution of the remaining lifetime on the certificate used to authenticate a request.",
|
||||||
Buckets: []float64{
|
Buckets: []float64{
|
||||||
0,
|
0,
|
||||||
|
(30 * time.Minute).Seconds(),
|
||||||
|
(1 * time.Hour).Seconds(),
|
||||||
|
(2 * time.Hour).Seconds(),
|
||||||
(6 * time.Hour).Seconds(),
|
(6 * time.Hour).Seconds(),
|
||||||
(12 * time.Hour).Seconds(),
|
(12 * time.Hour).Seconds(),
|
||||||
(24 * time.Hour).Seconds(),
|
(24 * time.Hour).Seconds(),
|
||||||
|
Loading…
Reference in New Issue
Block a user