influxdata/telegraf

Configuration option to send Buffer in newest-to-oldest order

Open

#15,208 opened on Apr 22, 2024

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Go (9,892 stars) (4,161 forks)batch import
feature requesthelp wantedsize/m

Description

Use Case

The telegraf buffer is sometimes used to temporarily accommodate high write rates to an influxdb instance.

Sometimes it is preferred to see the newest data in influxdb first and backfill the older data until the production rate decreases.

Expected behavior

I expected to see a configuration option for the buffer to allow it to flush the newest data first instead of the oldest data.

Actual behavior

Only the oldest data is flushed first.

Additional info

No response

Contributor guide