Skip to main content

Definition

Fields

string
Unique identifier for the trace. Auto-generated UUID if not provided.
string
required
Name describing the operation being traced.
list[Span]
List of spans belonging to this trace.
integer
Unix timestamp in milliseconds when the trace started.
integer
Unix timestamp in milliseconds when the trace ended. None if still running.
list[string]
Tags for categorizing the trace.
dict
Arbitrary metadata attached to the trace. The version field from @observe is stored here as metadata["version"].
string
Optional user identifier.
string
Optional session identifier.

JSON Serialization

Traces serialize with camelCase field names:

See Also