summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/go-metrics/unit.go
blob: c96622f9031df1068231365d8d04d5d3d1f55ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package metrics

// Unit represents the type or precision of a metric that is appended to
// the metrics fully qualified name
type Unit string

const (
	Nanoseconds Unit = "nanoseconds"
	Seconds     Unit = "seconds"
	Bytes       Unit = "bytes"
	Total       Unit = "total"
)