LogsClient
adaline.logs is the read-side counterpart to the Monitor write path. It lists recent traces as lightweight metadata and exposes two nested sub-clients for typed search over traces and spans. Every method is async.
The write-side — buffering and flushing traces and spans — lives on the
Monitor, Trace, and Span classes, created via adaline.init_monitor(). LogsClient is strictly read / retroactive patch.Access
Sub-clients
| Attribute | Client | Covers |
|---|---|---|
adaline.logs.traces | LogTracesClient | Typed trace search and retroactive trace updates |
adaline.logs.spans | LogSpansClient | Typed span search with full span bodies |
adaline_api:
list()
List log traces in a project — lightweight metadata only (no span bodies).Parameters
| Name | Type | Required | Description |
|---|---|---|---|
project_id | str | Yes | Project to list traces for. |
started_after / started_before | Optional[int] | No | Unix millisecond bounds. |
status | Optional[LogStatus] | No | "success", "failure", "aborted", "cancelled", "pending", "unknown". |
name | Optional[str] | No | Filter by trace name. |
reference_id | Optional[str] | No | Filter by client-supplied reference ID. |
session_id | Optional[str] | No | Filter by session ID. |
sort | Optional[LogSort] | No | "startedAt:asc" or "startedAt:desc". |
limit | Optional[int] | No | Page size (1-200, default 50). |
cursor | Optional[str] | No | Cursor from a previous response. |
filters | Optional[str] | No | JSON-encoded filter array. See Export Logs. |
LogStatus and LogSort are string-alias enums re-exported from adaline.clients.retry.
Returns
ListLogsResponse with { data: list[TraceMetadata]; pagination: Pagination }. Span bodies are not included.
Example
See Also
- LogTracesClient — typed trace search + retroactive update
- LogSpansClient — typed span search with full bodies
- Monitor — write-side buffering and flushing
- Adaline.init_monitor
- API reference: List log traces