Skip to content

Traces reference

Use OTLP HTTP protobuf or JSON at https://otlp.siteqwality.com/v1/traces. Set service/environment/version resource attributes. Trace IDs are 32 hexadecimal characters and span IDs 16, and all-zero IDs are invalid. Parent IDs, span kind, start/end time, events and links describe the actual recorded graph. The receiver does not infer missing spans.

OTLP over gRPC is not available yet. Platform guides include SDK setup and exporter flushing.

API-relative pathMethodPurpose
/traces/v2/searchPOST / GETSpan/trace search with a versioned query.
/traces/v2/detailPOSTDetail for trace ID and bounded range.
/traces/v2/{trace_id}GETRetained spans and trace summary.
/traces/v2/{trace_id}/spans/{span_id}GETSpan detail, events, links and attributes.
/traces/v2/{trace_id}/logsGETRecorded log correlation.
/traces/v2/timeseriesGETRED series for selected scope.
/traces/v2/topGETEndpoint/service ranking.
/traces/v2/heatmapGETDuration distribution.
/traces/v2/histogramGETMatching spans per time bucket, with error counting the spans a status:error filter matches.
/traces/v2/comparePOSTBounded period comparison.

Use https://api.siteqwality.com and read credentials. Preserve service/environment/time restrictions when following a link. A span query uses signal: "spans"; a supported trace summary query uses "traces". Use typed query examples.

Open a trace for waterfall, critical path, span events/links and correlated data. Timing offsets and durations are nanosecond strings; converting them to a floating point Number too early loses precision. The critical path describes recorded timing and does not prove causality for an unrecorded dependency. Incomplete/skeleton/truncated traces are labeled; do not assume they represent every operation in the request.

Service and endpoint RED uses weighted received spans and reports estimated and quality state; an upstream head sampler has already removed some requests. Percentiles are approximate. See the sampling guide and Services.

Traces have their own allowance and retention. Logs need matching trace IDs to correlate, and browser propagation is opt-in; see correlation and access/exports.