Traffic Analytics

Get resource status-class time series

Changed on

Per-resource variant of the app status-class time series. Counters are summed per bucket; unique_visitors and p95 are a per-bucket sketch merge across all keys of the resource.

Reads the key {uuid} and every key that starts with {uuid}- (Compose services, previews, Compose previews). A key such as {uuid}x… (no dash) is not included.

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

get/api/resource/{uuid}/traffic/series

Request

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

Path parameters

uuidstring required

Coolify resource UUID. Matched literally (% and _ are not wildcards).

Query parameters

rangestring

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

Response

Status-class time series for the resource

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 resource_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

      endpoint added