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
@adaline/api:
search()
Paginated trace search with typed filter objects. Returns full trace metadata filtered by the provided filters — more expressive thanlogs.list because filters are typed column predicates rather than JSON-encoded strings.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | SearchLogTracesRequest | Yes | Project, filters, sort, pagination. See Export Logs for filter grammar. |
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 bytraceId or referenceId (at least one required). Useful for asynchronously marking a trace as succeeded / failed after some out-of-band signal.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
trace | UpdateLogTraceRequest | Yes | { traceId? | referenceId?, status?, endedAt?, tags?, attributes? } — see OpenAPI for the full shape. |
Returns
Promise<unknown> — an ack from the server (no typed shape; confirms the update landed).
Example
See Also
- LogsClient — parent client (owns the
listmethod) - LogSpansClient — sibling sub-client for span search
- API reference: Search traces · Update trace