mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
13 lines
274 B
Go
13 lines
274 B
Go
|
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"
|
||
|
)
|