Field | Type | Required | Description |
---|---|---|---|
Name |
string | ✔️ | metric name |
Filter |
*string | ➖ | Query to filter the measurement values. e.g id: [id1,id2] category: moderate |
GroupBy |
*string | ➖ | Comma-delimited list of attribute names to group measurements by. e.g id, category |
AggregateBy |
*components.MetricsAggregationMethods | ➖ | Aggregation method used to group measurements |
BucketSizeInSeconds |
*int | ➖ | Resolution size of an aggregation bucket in seconds |
PreGroupBy |
*string | ➖ | Secondary grouping to allow aggregating data points inside individual buckets. Has to be set together with preGroupByMethod |
PreGroupByMethod |
*string | ➖ | Secondary aggregation to allow aggregating data points inside individual buckets. Has to be set together with preGroupBy |
StartTime |
*string | ➖ | Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ |
EndTime |
*string | ➖ | Timestamp in ISO 8601 format in UTC timezone: yyyy-MM-ddTHH:mm:ssZ |
PageSize |
*int | ➖ | Number of items in a response page. Default varies by API. |
SkipToken |
*string | ➖ | Token for the requested page |