Get aggregate query trace statistics

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

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

Changed in 1 of the 5 revisions of this API.12

  • 9f159871306712See the full diff
    • removed the required property tierCounts/fullContext from the response with the 200 status

      response-required-property-removed

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property tierCounts/escalated to the response with the 200 status

      response-required-property-added