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

fix(middleware-user-agent-header): swap user agent headers for non-browser environments #2313

Merged
merged 2 commits into from
Apr 29, 2021

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Apr 28, 2021

Issue

Internal JS-2583: Some services do not output custom headers in the query logs, so the UA string is missing for those services in metrics database.

Description

Testing

Unit tests


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go! We decided to keep the custom user agent in both headers in case server-side metrics changes, so we won't lose data.

@trivikr trivikr merged commit d8c1dc2 into aws:main Apr 29, 2021
@trivikr trivikr deleted the swap-user-agent-headers branch April 29, 2021 19:12
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants