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.MeterProvider

    MeterProvider is the internal implementation for global.MeterProvider.

    func ResetForTest

    func ResetForTest()

      ResetForTest restores the initial global state, for testing purposes.

      func SetMeterProvider

      func SetMeterProvider(mp metric.MeterProvider)

        SetMeterProvider is the internal implementation for global.SetMeterProvider.

        func SetTextMapPropagator

        func SetTextMapPropagator(p propagation.TextMapPropagator)

          SetTextMapPropagator is the internal implementation for global.SetTextMapPropagator.

          func SetTracerProvider

          func SetTracerProvider(tp trace.TracerProvider)

            SetTracerProvider is the internal implementation for global.SetTracerProvider.

            func TextMapPropagator

            func TextMapPropagator() propagation.TextMapPropagator

              TextMapPropagator is the internal implementation for global.TextMapPropagator.

              func TracerProvider

              func TracerProvider() trace.TracerProvider

                TracerProvider is the internal implementation for global.TracerProvider.

                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.