POST
/
kubernetesMetric

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
startTime
integer
required

Start time in seconds since epoch

endTime
integer
required

End time in seconds since epoch

filters
object

Filters to apply to the kubernetes metrics

excludeFilters
object

Filters to exclude from the kubernetes metrics

splits
string[]

Attributes to split the metrics by

environments
string[]

List of environments to get metrics from

functions
object[]

Functions to apply to the metric

limitResults
boolean

Whether to limit the number of results

bucketSize
integer

Size of each datapoint bucket in seconds

aggregation
enum<string>

Aggregation type for the metric

Available options:
sum,
avg,
min,
max,
count
isRate
boolean

Whether the metric is a rate metric

jsonPath
string | null

Path to pull the json value from the metric

Response

200 - application/json
metrics
object