Fix gauge constant
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
		| @@ -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) | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Crosby
					Michael Crosby