OpenTelemetryConfig

org.llm4s.llmconnect.config.OpenTelemetryConfig
See theOpenTelemetryConfig companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromExtras(extras: Map[String, String]): OpenTelemetryConfig

Builds the config from the llm4s.tracing.opentelemetry block, as TracingSettings.extras carries it: serviceName, endpoint, and one headers.<name> entry per header. Unset values take the defaults.

Builds the config from the llm4s.tracing.opentelemetry block, as TracingSettings.extras carries it: serviceName, endpoint, and one headers.<name> entry per header. Unset values take the defaults.

Attributes

Concrete fields

val DEFAULT_ENDPOINT: String
val DEFAULT_SERVICE_NAME: String

The mode OpenTelemetry is registered under: TRACING_MODE=opentelemetry (or otel).

The mode OpenTelemetry is registered under: TRACING_MODE=opentelemetry (or otel).

Attributes