opentelemetry

package
v0.0.0-...-833f758 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCodeTags

func AddCodeTags(ctx context.Context)

AddCodeTags attaches code metadata to the current span. It should only be used, when the span is automatically created by an OpenTelemetry integration, like for web frameworks handler functions

Types

type FalkenTracer

type FalkenTracer struct {
	// contains filtered or unexported fields
}

func Tracer

func Tracer(name string, opts ...trace.TracerOption) FalkenTracer

Tracer wraps OpenTelemetry's otel.Tracer and returns a FalkenTracer instance to work as a proxy.

func (FalkenTracer) Start

Start wraps OpenTelemetry's tracer.Start and attaches code metadata to the span.

Jump to

Keyboard shortcuts

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