Fix gauge constant

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2017-12-15 14:20:34 -05:00
parent 5956e152d5
commit 0b318b476a

View File

@ -34,7 +34,7 @@ func init() {
// if you want more fine grained metrics then you can drill down with the metrics in prom that // if you want more fine grained metrics then you can drill down with the metrics in prom that
// containerd is outputing // containerd is outputing
ct = ns.NewLabeledTimer("run", "Run time of a full container during the test", "commit") 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") errCounter = ns.NewLabeledCounter("errors", "Errors encountered running the stress tests", "err")
metrics.Register(ns) metrics.Register(ns)
} }