This commit is contained in:
12
vendor/github.com/docker/go-metrics/unit.go
generated
vendored
Normal file
12
vendor/github.com/docker/go-metrics/unit.go
generated
vendored
Normal file
@ -0,0 +1,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"
|
||||
)
|
Reference in New Issue
Block a user