package unit

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

Package unit provides units.

This package is currently in a pre-GA phase. Backwards incompatible changes may be introduced in subsequent minor version releases as we work to track the evolving OpenTelemetry specification and user feedback.

Index

Types

type Unit

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

Source Files

doc.go unit.go

Version
v0.17.0
Published
Feb 15, 2021
Platform
js/wasm
Last checked
1 minute ago

Tools for package owners.