traefik/vendor/github.com/docker/go-metrics/unit.go

13 lines
274 B
Go
Raw Normal View History

2019-08-05 16:24:03 +00:00
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"
)