Attributes
- Companion
- class
- Source
- OpenTelemetryTracing.scala
- Graph
-
- Supertypes
- Self type
-
OpenTelemetryTracing.type
Members list
Value members
Concrete methods
Attributes
- Source
- OpenTelemetryTracing.scala
A tracing that writes every span to local files as OTLP JSON Lines, with no tracing service (#2948): the file mode, TRACING_MODE=file. Each span is appended as it ends, as one line holding an OTLP/JSON ExportTraceServiceRequest: a placed trace's spans to <dir>/<trace-id>.jsonl, and the spans of events without a placement - each a trace of its own - to one <dir>/unplaced-<start>-<id>.jsonl for this tracing.
A tracing that writes every span to local files as OTLP JSON Lines, with no tracing service (#2948): the file mode, TRACING_MODE=file. Each span is appended as it ends, as one line holding an OTLP/JSON ExportTraceServiceRequest: a placed trace's spans to <dir>/<trace-id>.jsonl, and the spans of events without a placement - each a trace of its own - to one <dir>/unplaced-<start>-<id>.jsonl for this tracing.
The directory is created if it is missing. One that cannot be created, is not a directory or is not writable is a org.llm4s.error.ConfigurationError; so is an SDK that cannot start.
OpenTelemetryTracing.toFiles(FileTracingConfig(Paths.get("traces")).withCaptureContent(true))
Attributes
- Source
- OpenTelemetryTracing.scala
Concrete fields
The schema URL of SemconvVersion, set on the tracer.
The version of the OpenTelemetry semantic conventions the spans follow. The GenAI conventions are still in Development status, so attribute names may change in a later version; the tracer reports this one as its schema.
The version of the OpenTelemetry semantic conventions the spans follow. The GenAI conventions are still in Development status, so attribute names may change in a later version; the tracer reports this one as its schema.
Attributes
- Source
- OpenTelemetryTracing.scala
