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

Improve experience when sending data times out. #163

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

purple4reina
Copy link
Contributor

@purple4reina purple4reina commented Jun 15, 2020

This pre-release branch does two things to improve the agent experience when sending data to the New Relic backend times out.

First, instead of dropping data on the floor, we will save it and attempt to resend it with the next harvest cycle. Note that because the agent has internal limits to the amount of data it holds, if the timeouts happen for a prolonged period and your application is collecting a lot of events, some could still get dropped.

Second, the agent will stop using the http.DefaultTransport for communication with the New Relic backend. This change will help address golang/go#33006 which can cause all outbound requests using the same transport to hang, irregardless of the host they are attempting to connect with.

Aha! Link: https://newrelic.aha.io/features/GO-122

@yuanmwang-wf
Copy link

Looks good to me 👍

@newrelic-eheinlein newrelic-eheinlein merged commit 7cf2b13 into master Jun 18, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants