Source File
sdkapi.go
Belonging Package
go.opentelemetry.io/otel/api/metric
package metric
import (
)
RecordBatch(context.Context, []label.KeyValue, ...Measurement)
NewSyncInstrument(descriptor Descriptor) (SyncImpl, error)
NewAsyncInstrument(
descriptor Descriptor,
runner AsyncRunner,
) (AsyncImpl, error)
}
Implementation() interface{}
Descriptor() Descriptor
}
type SyncImpl interface {
InstrumentImpl
Bind(labels []label.KeyValue) BoundSyncImpl
type BoundSyncImpl interface {
Unbind()
}
type AsyncImpl interface {
InstrumentImpl
}
func ( MeterImpl, string, ...MeterOption) Meter {
return Meter{
impl: ,
name: ,
version: ConfigureMeter().InstrumentationVersion,
}
![]() |
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. |