mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +00:00
Fix rest_client_rate_limiter_duration_seconds not registered
We've found that the rate limiting metric wasn't exporting any metrics, in spite of clearly seeing the metric in the disassembled binary. As it turns out, the rest_client_rate_limiter_duration_seconds metric has been added as part of the logging improvements, but it appears to have been accidentally forgotten to be registered. https://github.com/kubernetes/kubernetes/pull/88134
This commit is contained in:
parent
7322dff5b5
commit
da9ffb8458
@ -108,6 +108,7 @@ var (
|
||||
func init() {
|
||||
|
||||
legacyregistry.MustRegister(requestLatency)
|
||||
legacyregistry.MustRegister(rateLimiterLatency)
|
||||
legacyregistry.MustRegister(requestResult)
|
||||
legacyregistry.RawMustRegister(execPluginCertTTL)
|
||||
legacyregistry.MustRegister(execPluginCertRotation)
|
||||
|
Loading…
Reference in New Issue
Block a user