Span
interface Span
A Span represents a single operation within a trace.
Functions
Link copied to clipboard
Records an exception on the span.
Link copied to clipboard
Sets a boolean attribute on the span.
Sets a double attribute on the span.
Sets a long attribute on the span.
Sets a string attribute on the span.
Sets a string-array attribute on the span (e.g. OTEL gen_ai.response.finish_reasons).