metrics

Metrics over an interval

Changed on

Returns metrics aggregated over the specified interval and number of periods.

get/metrics/{period}

Request

  • Base URL
    http://localhost:9980/api
  • URL
    http://localhost:9980/api/metrics/{period}
  • Auth
    HTTP basic

Path parameters

period'5m' | '15m' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' required

Interval identifier (e.g. 5m, 15m, hourly, daily).

Query parameters

startstring date-time required

Start timestamp for the first period.

periodsinteger

Number of periods to include. Defaults to cover up to current time when zero.

Response

Metrics for each requested period.

timestampstring date-time required

Timestamp the metrics were recorded at.

Changes

    • info

      response property items/storage/sectorCacheHits deprecated

    • info

      response property items/storage/sectorCacheMisses deprecated

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status