otel: go.opentelemetry.io/otel/internal/global Index | Files

package global

import "go.opentelemetry.io/otel/internal/global"

Index

Package Files

meter.go propagator.go state.go trace.go

func AtomicFieldOffsets Uses

func AtomicFieldOffsets() map[string]uintptr

func MeterProvider Uses

func MeterProvider() metric.MeterProvider

MeterProvider is the internal implementation for global.MeterProvider.

func ResetForTest Uses

func ResetForTest()

ResetForTest restores the initial global state, for testing purposes.

func SetMeterProvider Uses

func SetMeterProvider(mp metric.MeterProvider)

SetMeterProvider is the internal implementation for global.SetMeterProvider.

func SetTextMapPropagator Uses

func SetTextMapPropagator(p propagation.TextMapPropagator)

SetTextMapPropagator is the internal implementation for global.SetTextMapPropagator.

func SetTracerProvider Uses

func SetTracerProvider(tp trace.TracerProvider)

SetTracerProvider is the internal implementation for global.SetTracerProvider.

func TextMapPropagator Uses

func TextMapPropagator() propagation.TextMapPropagator

TextMapPropagator is the internal implementation for global.TextMapPropagator.

func TracerProvider Uses

func TracerProvider() trace.TracerProvider

TracerProvider is the internal implementation for global.TracerProvider.

type AsyncImpler Uses

type AsyncImpler interface {
    AsyncImpl() metric.AsyncImpl
}

AsyncImpler is implemented by all of the async metric instruments.

type SyncImpler Uses

type SyncImpler interface {
    SyncImpl() metric.SyncImpl
}

SyncImpler is implemented by all of the sync metric instruments.

Package global imports 11 packages (graph) and is imported by 1 packages. Updated 2021-01-13. Refresh now. Tools for package owners.