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.15.0
Published
Dec 11, 2020
Platform
linux/amd64
Last checked
5 minutes ago

Tools for package owners.