Package unit holds the definitions for the units you can use in telemetry.
const ( // UnitDimensionless indicates that a measure has no specified units. Dimensionless = "1" // UnitBytes indicates that that a measure is recording number of bytes. Bytes = "By" // UnitMilliseconds indicates that a measure is recording a duration in milliseconds. Milliseconds = "ms" )
Unit is used to specify the units for a given measure. This is can used for display purposes.