Skip to content

Commit

Permalink
Fix metric label
Browse files Browse the repository at this point in the history
Signed-off-by: Rodolfo Carvalho <[email protected]>
  • Loading branch information
rhcarvalho committed May 6, 2015
1 parent b2c0ea3 commit 075ae79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/dockertools/instrumented_docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 075ae79

Please sign in to comment.