Skip to content

hotfix(cli): correctly report telemetry even when transport replaced #7670

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

Merged
merged 3 commits into from
May 31, 2023

Conversation

ammario
Copy link
Member

@ammario ammario commented May 24, 2023

By introducing the "ExtraHeaders" map, we can apply headers even when handlers replace the transport, as in the case of our scaletests.

By introducing the "ExtraHeaders" map, we can apply headers even when
handlers replace the transport, as in the case of our scaletests.
@ammario ammario force-pushed the cli-telem-better branch from 5df8290 to 5c4e24b Compare May 24, 2023 19:23
@ammario ammario requested a review from kylecarbs May 24, 2023 19:39
@ammario ammario enabled auto-merge (squash) May 24, 2023 19:40
@ammario ammario changed the title chore(cli): correctly report telemetry even when transport replaced hotfix(cli): correctly report telemetry even when transport replaced May 30, 2023
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines
  • ✅ Title matches hotfix

@ammario ammario merged commit 43eee35 into main May 31, 2023
@ammario ammario deleted the cli-telem-better branch May 31, 2023 00:11
ammario added a commit that referenced this pull request Jun 1, 2023
…7670)

By introducing the "ExtraHeaders" map, we can apply headers even when
handlers replace the transport, as in the case of our scaletests.

Also, only send telemetry header when it's small.
ammario added a commit to goodspark/coder that referenced this pull request Jun 1, 2023
…oder#7670)

By introducing the "ExtraHeaders" map, we can apply headers even when
handlers replace the transport, as in the case of our scaletests.

Also, only send telemetry header when it's small.
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.

1 participant