Muninn.Aggregation.Metric (Muninn v0.5.5)
View SourceMetric aggregation builders.
Metric aggregations compute numeric values (averages, sums, etc.) over document fields.
Summary
Functions
Computes the average of a numeric field.
Computes approximate distinct count using HyperLogLog.
Counts values in a field.
Computes the maximum value of a numeric field.
Computes the minimum value of a numeric field.
Computes percentiles of a numeric field.
Computes count, min, max, avg, and sum at once.
Computes the sum of a numeric field.
Functions
Computes the average of a numeric field.
Computes approximate distinct count using HyperLogLog.
Options
:precision_threshold- Precision/memory trade-off (default: 3000)
Counts values in a field.
Computes the maximum value of a numeric field.
Computes the minimum value of a numeric field.
Computes percentiles of a numeric field.
Options
:percents- List of percentile values to compute (default: [1, 5, 25, 50, 75, 95, 99])
Computes count, min, max, avg, and sum at once.
Computes the sum of a numeric field.