Starts an aggregation (count / percentiles / …) over logs or traces.
Service dependency edges in the window (default: the last hour).
Full trace via POST /api/v4/traces/{traceId}/waterfall; null when SigNoz does not know it
or reports no spans for it. Span start times have millisecond precision (the waterfall reports
time_unix in ms). A trace larger than the server's waterfall window (hasMore) is completed
with raw span queries, as in every language.
Distinct values of a field (GET /api/v1/fields/values), sorted.
Log fields (GET /api/v1/fields/keys?signal=logs), one entry per name and context.
Span names of service in the window (default: the last hour), sorted.
Every service with spans in the window (default: the last hour), sorted.
Raw log query. Paging uses the SDK's own cursor (the server's nextCursor skips rows in the
millisecond before it): the next page narrows the window to the boundary millisecond and
excludes the ids already returned there.
Runs a raw /api/v5/query_range request body and returns data plus warnings.
Raw span query: one Span per matching span (offset paging).
Trace search (requestType: trace, one row per trace). startMicros and spanCount come
from the waterfall of each hit (millisecond precision).
Optionalopts: WaitForTraceOptions
Query client for SigNoz (
SIGNOZ-API-KEYauth): logs and spans via/api/v5/query_range, traces via the waterfall API, services/operations via v5 aggregations, dependencies via/api/v1/dependency_graph, log fields via/api/v1/fields/keys. Implements TraceQueryClient. Obtain it fromSignozClient.query.