OpenTelemetryConfig
org.llm4s.llmconnect.config.OpenTelemetryConfig
Connection settings for an OpenTelemetry collector.
Spans are exported via OTLP/gRPC to endpoint. Set OTEL_EXPORTER_OTLP_ENDPOINT in the environment (picked up by org.llm4s.config.Llm4sConfig) to override the default local collector address.
Value parameters
- endpoint
-
OTLP/gRPC collector address; defaults to
"http://localhost:4317" - headers
-
additional HTTP headers sent with each OTLP export request (e.g. authentication tokens for hosted collectors)
- serviceName
-
logical service name attached to every span as
service.name; defaults to"llm4s-agent"
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article