otel

package
v0.0.0-...-619e77c Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricProvider

func NewMetricProvider(
	ctx context.Context,
) *sdkmetric.MeterProvider

Creates new meter provider

func NewTraceProvider

func NewTraceProvider(
	ctx context.Context,
) *sdktrace.TracerProvider

Creates new trace provider

func ShutdownMetricProvider

func ShutdownMetricProvider(
	ctx context.Context,
	mp *sdkmetric.MeterProvider,
)

Shuts down meter provider

func ShutdownTraceProvider

func ShutdownTraceProvider(
	ctx context.Context,
	tp *sdktrace.TracerProvider,
)

Shuts down trace provider

func StartCollectingRuntimeMetrics

func StartCollectingRuntimeMetrics()

Starts runtime metric collection

Types

This section is empty.

Directories

Path Synopsis
semconv

Jump to

Keyboard shortcuts

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