πŸ” Cost Reduction

Use metrics whenever possible

Metrics have the lowest unit cost. If you can use metrics without high cardinality, it is always the best option to achieve the best query speed and lowest cost.

Reduce interval from onTimeInterval, onBlockInterval or onVersionInterval

As introduced in handlers-and-filters, processors can wake up and execute a handler, then emit data. You can adjust the interval to reduce the frequency, thereby reducing the cost.