Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(endpoint string) func()
NewProvider creates new telemetry provider, and sets it as a default open telemetry trace provider.
Endpoint priority: 1. OTEL_EXPORTER_OTLP_ENDPOINT - for OTEL collector (e.g., "localhost:4318") 2. LANGFUSE_ENDPOINT - for Langfuse 3. Falls back to file-based tracing
Returns a teardown func
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.