type go.opentelemetry.io/otel/api/unit.Unit
9 uses
go.opentelemetry.io/otel/api/unit (current package)
unit.go#L17: type Unit string
unit.go#L20: Dimensionless Unit = "1"
unit.go#L21: Bytes Unit = "By"
unit.go#L22: Milliseconds Unit = "ms"
go.opentelemetry.io/otel/api/metric
config.go#L24: Unit unit.Unit
config.go#L62: func WithUnit(unit unit.Unit) InstrumentOption {
config.go#L66: type unitOption unit.Unit
config.go#L69: config.Unit = unit.Unit(u)
descriptor.go#L57: func (d Descriptor) Unit() unit.Unit {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |