mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Fix metric label
Signed-off-by: Rodolfo Carvalho <rcarvalh@redhat.com>
This commit is contained in:
parent
b2c0ea37b4
commit
075ae79826
@ -133,7 +133,7 @@ func (in instrumentedDockerInterface) Version() (*docker.Env, error) {
|
||||
func (in instrumentedDockerInterface) Info() (*docker.Env, error) {
|
||||
start := time.Now()
|
||||
defer func() {
|
||||
metrics.DockerOperationsLatency.WithLabelValues("version").Observe(metrics.SinceInMicroseconds(start))
|
||||
metrics.DockerOperationsLatency.WithLabelValues("info").Observe(metrics.SinceInMicroseconds(start))
|
||||
}()
|
||||
return in.client.Info()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user