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

auto-flush needs to happen at a higher time interval #238

Open
grosser opened this issue Feb 14, 2022 · 4 comments
Open

auto-flush needs to happen at a higher time interval #238

grosser opened this issue Feb 14, 2022 · 4 comments

Comments

@grosser
Copy link
Contributor

grosser commented Feb 14, 2022

we switched v4 -> v5 and got lots of no-data alerts
the sender thread should make sure to send a batch every 1min for example to avoid this pitfall

tried to fix this by adding

@statsd.flush sync: true

as the changelog suggests but it's not working
with v4 we had a flat line and now we have this 😞
Screen Shot 2022-02-14 at 2 40 52 PM

somehow it works with single_thread: true idk why ... we have multiple long-running threads that each have their own reporter

@januszm
Copy link

januszm commented Feb 17, 2022

it sounds like it's too early to switch to v5? @grosser did you rollback to v4 after discovering this?

@grosser
Copy link
Contributor Author

grosser commented Feb 17, 2022

no, I run v5 with single_thread + times flush + manual flushing after large batches

@gdubicki
Copy link
Contributor

Sorry for digging up such an old issue, but I am just considering switching my app to single_thread: false and am looking at potential issues.

Did you try to just use buffer_flush_interval, @grosser?

@grosser
Copy link
Contributor Author

grosser commented May 17, 2024

don't remember, sounds like a useful setting though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants