tracing

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracing

func NewTracing(config *tracing.TracingConfig) tracing.Tracing

NewTracing configures OpenTelemetry tracing based on the configuration. Returns a tracing graph that is noop when the tracer provider is no-op.

func NewTracingFromEnv

func NewTracingFromEnv(ctx context.Context, stdout io.Writer) (tracing.Tracing, error)

NewTracingFromEnv configures OpenTelemetry tracing based on environment variables. Returns a tracing graph that is noop when disabled.

Types

type Shutdown

type Shutdown interface {
	Shutdown(context.Context) error
}

Directories

Path Synopsis
Package api provides types for OpenTelemetry tracing support, notably to reduce chance of cyclic imports.
Package api provides types for OpenTelemetry tracing support, notably to reduce chance of cyclic imports.
Package openinference provides OpenInference semantic conventions for OpenTelemetry tracing.
Package openinference provides OpenInference semantic conventions for OpenTelemetry tracing.
openai
Package openai provides OpenInference semantic conventions hooks for OpenAI instrumentation used by the ExtProc router filter.
Package openai provides OpenInference semantic conventions hooks for OpenAI instrumentation used by the ExtProc router filter.

Jump to

Keyboard shortcuts

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