Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration option to drop oldest or newest data in the buffer when buffer is full #15217

Open
kj4tmp opened this issue Apr 24, 2024 · 1 comment
Labels
feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/m 2-4 day effort

Comments

@kj4tmp
Copy link

kj4tmp commented Apr 24, 2024

Use Case

Similar to #15208

(accommodating temporary high-write bursts to and influxdb instance)

Sometimes the newest data is more important to keep than the oldest data (if your computer failed, would you care more about what happened right before the failure or 5 minutes before the failure?)

Sometimes the oldest data is more important to keep than the newest data (ex: which events happened first in this very large burst of events?)

Expected behavior

I expected to see a configuration option like "buffer_drop_strategy" which would default to "drop_oldest".

Actual behavior

No configuration option to specify which metrics (newest or oldest) are dropped from the buffer.

Additional info

No response

@kj4tmp kj4tmp added the feature request Requests for new plugin and for new features to existing plugins label Apr 24, 2024
@powersj powersj added help wanted Request for community participation, code, contribution size/m 2-4 day effort labels Apr 25, 2024
@powersj
Copy link
Contributor

powersj commented Apr 25, 2024

Similar to #15208, not opposed to do this as well. We would want to add an option for this as a part of the buffer management re-write.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/m 2-4 day effort
Projects
None yet
Development

No branches or pull requests

2 participants