metrics

List metric measurement values, grouped by attributes, filtered by the filter. An empty list indicates no data points are available for the given parameters.

get/v1/metrics/{name}/measurements

Request

Path parameters

namestring required

Metric name.

Query parameters

filterstring

Query to filter the measurement values. e.g id: [id1,id2] category: moderate

groupBystring

Comma-delimited list of attribute names to group measurements by. e.g id, category

aggregateBy'AVG' | 'COUNT' | 'MIN' | 'MAX' | 'SUM' | 'LAST'

Aggregation method used to group measurements. Defaults to AVG.

preGroupBystring

Secondary grouping to allow aggregating data points inside individual buckets. Has to be set together with preGroupByMethod.

preGroupByMethod'AVG' | 'COUNT' | 'MIN' | 'MAX' | 'SUM' | 'LAST'

Secondary aggregation to allow aggregating data points inside individual buckets. Has to be set together with preGroupBy.

seriesType'TIMESERIES' | 'SCALAR' required

Indicates what type of data to return. Defaults to TIMESERIES.

startTimestring date-time

Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ

endTimestring date-time

Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ

pageSizeinteger

Number of items in a response page. Default varies by API.

skipTokenstring

Token for the requested page.

Response

The request has succeeded.

bucketSizeInSecondsinteger required

Bucket size used for computing time series points, in seconds.

Changes

No recorded changes to this operation across all 5 revisions of this API.