package unit

import "go.opentelemetry.io/otel/metric/unit"

Package unit provides units.

Deprecated: This package will be removed in the next release. Use the equivalent unit string instead.

Index

Types

type Unit

type Unit string

Unit is a determinate standard quantity of measurement.

Deprecated: This will be removed in the next release.

const (
	Dimensionless Unit = "1"
	Bytes         Unit = "By"
	Milliseconds  Unit = "ms"
)

Units defined by OpenTelemetry.

Source Files

doc.go unit.go

Version
v0.37.0
Published
Feb 27, 2023
Platform
windows/amd64
Last checked
16 minutes ago

Tools for package owners.