tracing

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracingFromEnv

func NewTracingFromEnv(ctx context.Context, stdout io.Writer, headerAttributeMapping map[string]string) (tracingapi.Tracing, error)

NewTracingFromEnv configures OpenTelemetry tracing based on environment variables and optional header attribute mapping.

Parameters:

  • headerAttributeMapping: maps HTTP headers to otel span attributes (e.g. map["x-session-id"]="session.id"). If nil, no header mapping is applied.

Returns a tracing graph that is noop when disabled.

Types

This section is empty.

Directories

Path Synopsis
Package openinference provides OpenInference semantic conventions for OpenTelemetry tracing.
Package openinference provides OpenInference semantic conventions for OpenTelemetry tracing.
cohere
Package cohere provides OpenInference semantic conventions hooks for Cohere instrumentation used by the ExtProc router filter.
Package cohere provides OpenInference semantic conventions hooks for Cohere instrumentation used by the ExtProc router filter.
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.
Package tracingapi provides types for OpenTelemetry tracing support, notably to reduce chance of cyclic imports.
Package tracingapi provides types for OpenTelemetry tracing support, notably to reduce chance of cyclic imports.

Jump to

Keyboard shortcuts

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