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