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

Set MaxIdleConns and MaxIdleConnsPerHost for Azure backend #1632

Merged
merged 2 commits into from Aug 22, 2022

Conversation

electron0zero
Copy link
Member

What this PR does:
We are setting MaxIdleConnsPerHost in the customTransport used by Azure backend.

Default MaxIdleConnsPerHost is 2, Increase that to reduce connection turnover and hopefully fix the DNS failures seen in #1462

Which issue(s) this PR fixes:
Possible fix for #1462

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@CLAassistant
Copy link

CLAassistant commented Aug 11, 2022

CLA assistant check
All committers have signed the CLA.

@electron0zero electron0zero changed the title Configure MaxIdleConns and MaxIdleConnsPerHost for Azure backend Set MaxIdleConns and MaxIdleConnsPerHost for Azure backend Aug 11, 2022
@cristiangsp cristiangsp linked an issue Aug 17, 2022 that may be closed by this pull request
@electron0zero
Copy link
Member Author

electron0zero commented Aug 22, 2022

Tested this change internally, and it has reduced errors from 4-5 errors per hour to 1 error every 2-3 hours

image

@joe-elliott
Copy link
Member

Nice fix!

@joe-elliott joe-elliott merged commit 627b1ee into grafana:main Aug 22, 2022
electron0zero added a commit to electron0zero/tempo that referenced this pull request Aug 22, 2022
@electron0zero electron0zero deleted the suraj/idle_conns branch August 22, 2022 14:28
joe-elliott pushed a commit that referenced this pull request Aug 22, 2022
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.

Azure DNS Lookup Failures
3 participants