Commit b4ae750e authored by Victor Marmol's avatar Victor Marmol

Merge pull request #7830 from rhcarvalho/fix-metric-label

Fix metric label
parents b7f9e2ce 075ae798
......@@ -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()
}
......
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