Frontends

Per-day request and error counts for a single frontend

Changed on

Returns a zero-filled daily series of request counts and 5xx error counts for one frontend, oldest first. Each entry is one UTC day; missing days (no traffic recorded) come back as requests: 0, errors: 0 so the response always has exactly days entries.

Backs the Monitoring section on the frontend detail page in the Volcano dashboard. days defaults to 30 and is capped at 90 to keep the (frontend_id, day) index scan bounded.

get/projects/{id}/frontends/{frontendId}/usage

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

frontendId, string uuid required

Frontend ID

Query parameters

days, integer

Number of trailing days to return (1–90, default 30).

Response

Successful response

FrontendUsageHistoryResponse required

Zero-filled daily series of request + error counts for a single frontend, oldest first.

frontend_id, string uuid required
days, integer required

Number of daily entries returned (always equal to the days query param after clamping).

daily, FrontendUsageDailyEntry[] required
total_requests, integer required
total_errors, integer required
total_page_views, integer required

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter frontendId

    • breaking

      added the new path request parameter id

    22 more changes in this revision