diff --git a/cmd/containerd-stress/main.go b/cmd/containerd-stress/main.go index 3b8929d89..612b4430a 100644 --- a/cmd/containerd-stress/main.go +++ b/cmd/containerd-stress/main.go @@ -34,7 +34,7 @@ func init() { // if you want more fine grained metrics then you can drill down with the metrics in prom that // containerd is outputing ct = ns.NewLabeledTimer("run", "Run time of a full container during the test", "commit") - binarySizeGauge = ns.NewLabeledGauge("binary_size", "Binary size of compiled binaries", "name") + binarySizeGauge = ns.NewLabeledGauge("binary_size", "Binary size of compiled binaries", metrics.Bytes, "name") errCounter = ns.NewLabeledCounter("errors", "Errors encountered running the stress tests", "err") metrics.Register(ns) }