unit

package
Version: v0.456.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 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 (
	// Dimensionless indicates that a measure has no specified units.
	Dimensionless = "1"
	// Bytes indicates that that a measure is recording number of bytes.
	Bytes = "By"
	// Milliseconds 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.

Source Files

Jump to

Keyboard shortcuts

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