MENU
      DataQueryRequestMetricInfo

        DataQueryRequestMetricInfo


        Article summary

        Available in Classic

        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;
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        prodKeyStringRequiredcw_key of the product
        metricStringRequiredMetric name to be searched
        intervalIntervalRequiredAggregation interval for the data you want to query
        • Min1 | Min5 | Min30 | Hour2 | Day1
        aggregationCalculationOptionalAggregation function for the data you want to query
        • COUNT | SUM (default) | MAX | MIN | AVG
        queryAggregationQueryAggregationOptionalMethod of processing query results in case of insufficient query standards
        • COUNT | SUM (default) | MAX | MIN | AVG
        dimensionsMap<String, String>RequiredSpecify the dimension to query in JSON format

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.