DataQueryRequestMetricInfo

Prev Next

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

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
  • Min1 | Min5 | Min30 | Hour2 | Day1
aggregation Calculation Optional Aggregation function for the data you want to query
  • COUNT | SUM (default) | MAX | MIN | AVG
queryAggregation QueryAggregation Optional Method of processing query results in case of insufficient query standards
  • COUNT | SUM (default) | MAX | MIN | AVG
dimensions Map<String, String> Required Specify the dimension to query in JSON format.