otel: go.opentelemetry.io/otel/unit Index | Files

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

Package Files

doc.go unit.go

type Unit Uses

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

Package unit is imported by 7 packages. Updated 2020-11-12. Refresh now. Tools for package owners.