otel_instrumentation

package
v0.0.0-...-691f4a8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLogEvent

func AddLogEvent(span trace.Span, metadata any) error

Utility function to add an event to the span with some metadata This can be helpful in some situations but not the best practice

func InitializeGlobalTracerProvider

func InitializeGlobalTracerProvider(ctx context.Context) (*sdktrace.TracerProvider, *otlptrace.Exporter, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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