unit

package
v0.0.0-...-57c1bf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package unit holds the definitions for the units you can use in telemetry.

Index

Constants

View Source
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Unit

type Unit string

Unit is used to specify the units for a given measure. This is can used for display purposes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL