-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Data loss on stop #1547
Comments
@allenluce you're 100% right, it looks like I don't believe we have a way around this at the moment. The flushes happen periodically as you already know, so depending on when during the flush interval you request the We'll look into it. Thank you for bringing this up. |
This issue is very annoying if you run the agent in a "side container" alongside a AWS Fargate Task (a short living "docker run"). When the main task ends, the agent container is stopped and it doesn't flush metrics / events / APM / etc. The "side car" pattern only works for AWS Fargate Services (long living tasks). As a workaround we currently deploy the bunch of agents as a AWS Fargate Services, used by Tasks to report datadog metrics. |
Seems like #4129 addressed this issue. |
@allenluce / @visciang Can you try out the new version of the agent to see if this issue is resolved now? |
Seems similar to #3940 |
Up to the last 15 seconds of aggregated data is lost when shutting down the statsd server (with
statsd.Stop()
). Even when using an aggregator with the flush interval quite low, some seconds of data don't end up getting pushed to the backend.Is there a recommended way to flush data to prevent this from happening?
The text was updated successfully, but these errors were encountered: