MetricInput
fields
id optional ID
The ID of a pre-configured Metric.
name optional String
The name of a pre-configured Metric.
custom optional CustomMetricQueryInput
An ad hoc Custom Metric.
custom.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
custom.expression required String
Custom expression for defining the Metric.
count optional CountMetricQueryInput
An ad hoc Count Metric.
count.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
sum optional SumMetricQueryInput
An ad hoc Sum Metric.
sum.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
sum.measure required DimensionInput
The column to be summed.
average optional AverageMetricQueryInput
An ad hoc Average Metric.
average.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
average.measure required DimensionInput
The column to be averaged.
min optional MinMetricQueryInput
An ad hoc Min Metric.
min.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
min.measure required DimensionInput
The column to calculate the minimum from.
max optional MaxMetricQueryInput
An ad hoc Max Metric.
max.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
max.measure required DimensionInput
The column to calculate the maximum from.
countDistinct optional CountDistinctMetricQueryInput
An ad hoc Count Distinct Metric.
countDistinct.dataPool required DataPoolInput
The Data Pool to which this Metric belongs.
countDistinct.dimension required DimensionInput
The column to count distinct values from.