Skip to main content

LogTracesClient

adaline.logs.traces searches traces with typed column filters — status, time window, name, attributes — and retroactively patches a trace’s status, tags, or attributes after it has already been flushed.

Access

The class is also exported directly:
Types from @adaline/api:

Paginated trace search with typed filter objects. Returns full trace metadata filtered by the provided filters — more expressive than logs.list because filters are typed column predicates rather than JSON-encoded strings.

Parameters

Returns

Promise<SearchTracesResponse> with { data: TraceRow[]; pagination: Pagination }.

Example


update()

Retroactively patch a trace’s status / endedAt and create or delete tags and attributes. Locate the trace by traceId or referenceId (at least one required). Useful for asynchronously marking a trace as succeeded / failed after some out-of-band signal.

Parameters

Returns

Promise<unknown> — an ack from the server (no typed shape; confirms the update landed).

Example


See Also