Skip to main content
GET
Get metrics

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Path Parameters

projectId
string<uuid>
required

Query Parameters

component
enum<string>
required
Available options:
db,
compute,
redis,
mysql,
mongodb
branch
string

branch name (default branch if omitted)

group
string

one service by name; omit for EVERY service of this component on the branch, each series tagged with labels.group

breakdown
enum<string>

CPU and memory per replica, labelled with labels.instance. Requires component=compute and an explicit nonempty group. Omit for service totals; network and disk remain service totals only.

Available options:
instance
from
integer

unix seconds (default now-3600)

to
integer

unix seconds (default now)

step
string
default:60s

PromQL step

Response

Default Response

source
string
Example:

"fly-prometheus"

series
object[]
note
string

present when a provider can't serve the request (e.g. DB metrics)