internal

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtomicFieldOffsets

func AtomicFieldOffsets() map[string]uintptr

func MeterProvider

func MeterProvider() metric.Provider

MeterProvider is the internal implementation for global.MeterProvider.

func Propagators

func Propagators() propagation.Propagators

Propagators is the internal implementation for global.Propagators.

func ResetForTest

func ResetForTest()

ResetForTest restores the initial global state, for testing purposes.

func SetMeterProvider

func SetMeterProvider(mp metric.Provider)

SetMeterProvider is the internal implementation for global.SetMeterProvider.

func SetPropagators

func SetPropagators(pr propagation.Propagators)

SetPropagators is the internal implementation for global.SetPropagators.

func SetTraceProvider

func SetTraceProvider(tp trace.Provider)

SetTraceProvider is the internal implementation for global.SetTraceProvider.

func TraceProvider

func TraceProvider() trace.Provider

TraceProvider is the internal implementation for global.TraceProvider.

Types

type AsyncImpler

type AsyncImpler interface {
	AsyncImpl() metric.AsyncImpl
}

AsyncImpler is implemented by all of the async metric instruments.

type SyncImpler

type SyncImpler interface {
	SyncImpl() metric.SyncImpl
}

SyncImpler is implemented by all of the sync metric instruments.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL