Commit 075ae798 authored by Rodolfo Carvalho's avatar Rodolfo Carvalho

Fix metric label

parent b2c0ea37
...@@ -133,7 +133,7 @@ func (in instrumentedDockerInterface) Version() (*docker.Env, error) { ...@@ -133,7 +133,7 @@ func (in instrumentedDockerInterface) Version() (*docker.Env, error) {
func (in instrumentedDockerInterface) Info() (*docker.Env, error) { func (in instrumentedDockerInterface) Info() (*docker.Env, error) {
start := time.Now() start := time.Now()
defer func() { defer func() {
metrics.DockerOperationsLatency.WithLabelValues("version").Observe(metrics.SinceInMicroseconds(start)) metrics.DockerOperationsLatency.WithLabelValues("info").Observe(metrics.SinceInMicroseconds(start))
}() }()
return in.client.Info() return in.client.Info()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment