# Functions
NewBuffer builds and returns new metrics buffer No automatic flush, one must invoke FlushTo manually.
NewBufferFunc builds buffer and returns handler func, compatible with xray.Handler This buffer will automatically flush all data in fixed rate, configured as interval.
NewDeltaHolder builds and returns grouping buffer for duration values On flushing, this buffer calculates percentiles and other aggregation data that is provided instead raw values.
NewGaugeHolder builds and returns grouping buffer for gauge values.
NewIncrementalHolder builds and returns grouping buffer for incremental values.
# Structs
Buffer is metrics buffer, that accumulates metric data and then flushes them to provided target.
# Interfaces
GroupingBuffer describes structures, that can perform data aggregation around groping key.