Merge pull request #1924 from crosbymichael/fix-gauge

Fix gauge constant
This commit is contained in:
Phil Estes 2017-12-15 14:36:20 -05:00 committed by GitHub
commit f33f49e30f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
} }