unit

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 (
	// 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.

Jump to

Keyboard shortcuts

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