How Should I Rollup Aggregated Data?¶
Because Observe can support many different use cases with many types of data, it can sometimes be difficult to select the correct OPAL tool. Here’s how to “roll up” aggregated data into regular accumulations.
rollup options(buckets:100), cpu_usage:metric("cpu_usage_total", rollup:"rate", type:"cumulativeCounter")
aggregate avg_cpu_usage:avg(cpu_usage), group_by(cluster_uid, node_name, cpu_id)