type go.opentelemetry.io/otel/api/metric.Descriptor
25 uses
go.opentelemetry.io/otel/api/metric (current package)
descriptor.go#L22: type Descriptor struct {
descriptor.go#L30: func NewDescriptor(name string, mkind Kind, nkind NumberKind, opts ...InstrumentOption) Descriptor {
descriptor.go#L31: return Descriptor{
descriptor.go#L40: func (d Descriptor) Name() string {
descriptor.go#L45: func (d Descriptor) MetricKind() Kind {
descriptor.go#L51: func (d Descriptor) Description() string {
descriptor.go#L57: func (d Descriptor) Unit() unit.Unit {
descriptor.go#L63: func (d Descriptor) NumberKind() NumberKind {
descriptor.go#L69: func (d Descriptor) InstrumentationName() string {
descriptor.go#L75: func (d Descriptor) InstrumentationVersion() string {
noop.go#L43: func (noopInstrument) Descriptor() Descriptor {
noop.go#L44: return Descriptor{}
sdkapi.go#L32: NewSyncInstrument(descriptor Descriptor) (SyncImpl, error)
sdkapi.go#L38: descriptor Descriptor,
sdkapi.go#L52: Descriptor() Descriptor
go.opentelemetry.io/otel/api/metric/registry
registry.go#L82: func keyOf(descriptor metric.Descriptor) key {
registry.go#L92: func NewMetricKindMismatchError(desc metric.Descriptor) error {
registry.go#L104: func Compatible(candidate, existing metric.Descriptor) bool {
registry.go#L114: func (u *uniqueInstrumentMeterImpl) checkUniqueness(descriptor metric.Descriptor) (metric.InstrumentImpl, error) {
registry.go#L128: func (u *uniqueInstrumentMeterImpl) NewSyncInstrument(descriptor metric.Descriptor) (metric.SyncImpl, error) {
registry.go#L150: descriptor metric.Descriptor,
go.opentelemetry.io/otel/api/global/internal
meter.go#L78: descriptor metric.Descriptor
meter.go#L122: func (inst *instrument) Descriptor() metric.Descriptor {
meter.go#L187: func (m *meterImpl) NewSyncInstrument(desc metric.Descriptor) (metric.SyncImpl, error) {
meter.go#L255: desc metric.Descriptor,
 |
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. |