Available in Classic and VPC
This is the data query request information.
Syntax
The syntax is as follows:
private String productName;
private String prodKey;
private String metric;
private Interval interval;
private Calculation aggregation;
private QueryAggregation queryAggregation;
private Map<String, String> dimensions;
Field
The following describes the fields:
Field | Type | Required | Description |
---|---|---|---|
prodKey |
String | Required | cw_key of the product |
metric |
String | Required | Metric name to be searched |
interval |
Interval | Required | Aggregation interval for the data you want to query
|
aggregation |
Calculation | Optional | Aggregation function for the data you want to query
|
queryAggregation |
QueryAggregation | Optional | Method of processing query results in case of insufficient query standards
|
dimensions |
Map<String, String> | Required | Specify the dimension to query in JSON format. |