Merge pull request #1924 from crosbymichael/fix-gauge
Fix gauge constant
This commit is contained in:
commit
f33f49e30f
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user