VictoriaMetrics/lib/streamaggr
Roman Khavronenko 3e8b5e74d5
lib/streamaggr: skip empty aggregators ()
Prevent excessive resource usage when stream aggregation config file
contains no matchers by prevent pushing data into Aggregators object.
Before this change a lot of extra work was invoked without reason.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

(cherry picked from commit 7ce052b32d)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-20 14:46:36 +02:00
..
avg.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
count_samples.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
count_series.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
dedup_test.go lib/streamaggr: pick sample with bigger timestamp or value on deduplicator () 2024-03-17 23:06:37 +02:00
dedup_timing_test.go streamaggr: made labels compressor shared () 2024-05-10 14:28:59 +02:00
dedup.go lib/streamaggr: follow-up for 15e33d56f1 2024-03-17 23:23:57 +02:00
deduplicator_test.go lib/streamaggr: follow-up for 15e33d56f1 2024-03-17 23:23:57 +02:00
deduplicator_timing_test.go all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-03 03:00:45 +03:00
deduplicator.go streamaggr: made labels compressor shared () 2024-05-10 14:28:59 +02:00
histogram_bucket.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
last.go lib/streamaggr: ignore out of order samples for last output 2024-03-18 01:03:58 +02:00
max.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
min.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
quantiles.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
rate.go lib/streamaggr: added rate_sum and rate_avg to benchmarks, lint fix () 2024-05-13 16:49:59 +02:00
stddev.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
stdvar.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
streamaggr_test.go lib/streamaggr: added rate and rate_avg output () 2024-05-13 16:49:39 +02:00
streamaggr_timing_test.go lib/streamaggr: added rate_sum and rate_avg to benchmarks, lint fix () 2024-05-13 16:49:59 +02:00
streamaggr.go lib/streamaggr: skip empty aggregators () 2024-05-20 14:46:36 +02:00
sum_samples.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00
total.go lib/streamaggr: added rate and rate_avg output () 2024-05-13 16:49:39 +02:00
unique_samples.go lib/streamaggr: benchmark only flush routines in BenchmarkDedupAggrFlushSerial and BenchmarkAggregatorsFlushSerial 2024-03-04 19:13:50 +02:00