GET /api/v1/{context_id}/traces/stats

Changed on

Get aggregate query trace statistics

Request

Path parameters

context_idstring required

Spectron context id

Response

avgLatencyMsnumber double required
cacheHitRatenumber double required

Phase 7.6 — response_traces_cached / response_traces_total.

cacheHitsinteger required
responseTracesCachedinteger required

Phase 7.6 — subset with reused_from IS NOT NONE (served from the entity-aware cache).

responseTracesTotalinteger required

Phase 7.6 — response_trace rows in the configured window.

totalQueriesinteger required
windowHoursinteger required

Phase 7.6 — window over which the response-trace counts were aggregated.

Changes

    • breaking

      removed the required property / from the response with the status

    • info

      added the non-success response with the status

    • info

      added the required property / to the response with the status