Traffic Analytics

Get server-wide status-class time series

Changed on

Per-bucket 2xx/3xx/4xx/5xx request counts across every app/host, zero-filled to a fixed length (see the per-app variant for granularity).

Requires Sentinel built with the traffic Cargo feature AND TRAFFIC_ENABLED=true at runtime; returns 404 otherwise.

get/api/traffic/series

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

rangestring

Time range: 24h (hourly buckets, default), 7d or 30d (daily buckets).

Response

Status-class time series

bucketinteger required
bytes_ininteger required
bytes_outinteger required
p95number double required
requestsinteger required
s2xxinteger required
s3xxinteger required
s4xxinteger required
s5xxinteger required
unique_visitorsinteger required

Changes

    • breaking

      for the query request parameter range, default value 24h was removed

    • breaking

      removed the enum value 24h from the query request parameter range

    • breaking

      removed the enum value 30d from the query request parameter range

    • breaking

      removed the enum value 7d from the query request parameter range

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      the / response's property format changed from float to double for status

    • info

      api operation id series was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status