unit.go 274 B

123456789101112
  1. package metrics
  2. // Unit represents the type or precision of a metric that is appended to
  3. // the metrics fully qualified name
  4. type Unit string
  5. const (
  6. Nanoseconds Unit = "nanoseconds"
  7. Seconds Unit = "seconds"
  8. Bytes Unit = "bytes"
  9. Total Unit = "total"
  10. )