API referenceMetrics

GET /metrics/series (top 10 groups)

GET
/metrics/series

Query Parameters

name*string
Lengthlength <= 256
agg?string

Aggregation (default sum)

Value in

  • "sum"
  • "avg"
  • "min"
  • "max"
  • "p50"
  • "p95"
  • "count"
interval?string

Bucket size (default 1h)

Value in

  • "1m"
  • "5m"
  • "1h"
  • "1d"
groupBy?string

Attribute key to split by; top 10 groups

Lengthlength <= 256
appId?string
environmentId?string

Environment slug or id

since?string

Window start (RFC3339); defaults to 24h before until

until?string

Window end (RFC3339); defaults to now

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/metrics/series?name=string"
{  "$schema": "https://example.com/schemas/MetricSeriesResultDTO.json",  "agg": "string",  "groupBy": "string",  "interval": "string",  "name": "string",  "series": [    {      "group": "string",      "points": [        {          "bucket": "string",          "count": 0,          "value": 0.1        }      ]    }  ]}