Span

class Span

A span represents a unit of work during AI agent execution, capturing timing, status, and contextual attributes.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

UUID of the Connect AI Assistant resource

Link copied to clipboard

Span-specific contextual attributes

Link copied to clipboard

Operation end time in milliseconds since epoch

Link copied to clipboard

Parent span identifier for hierarchy. Null for root spans.

Link copied to clipboard

The service request ID that initiated the operation

Link copied to clipboard

UUID of the Connect AI Session resource

Link copied to clipboard

Unique span identifier

Link copied to clipboard

Service-defined operation name

Link copied to clipboard

Operation relationship type

Link copied to clipboard

Operation start time in milliseconds since epoch

Link copied to clipboard

Span completion status

Functions

Link copied to clipboard
inline fun copy(block: Span.Builder.() -> Unit = {}): Span
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String