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

[META 527] User-agent header for transport #1136

Closed
Tracked by #654 ...
SylvainJuge opened this issue Oct 12, 2021 · 1 comment · Fixed by #1196
Closed
Tracked by #654 ...

[META 527] User-agent header for transport #1136

SylvainJuge opened this issue Oct 12, 2021 · 1 comment · Fixed by #1196
Assignees
Milestone

Comments

@SylvainJuge
Copy link
Member

Implement 514 for all APM agents.

@AlexanderWert AlexanderWert added this to the 8.0 milestone Oct 14, 2021
@zube zube bot added the [zube]: Ready label Oct 14, 2021
@AlexanderWert AlexanderWert changed the title [META 514] User-agent header for transport [META 527] User-agent header for transport Oct 19, 2021
@axw axw self-assigned this Dec 2, 2021
@axw
Copy link
Member

axw commented Dec 2, 2021

I think this is going to require breaking changes to our API. Service name and version are properties of the tracer. A transport (which defines the User-Agent) can be shared by multiple tracers. We use transport.Default if one is not specified when constructing a tracer, so we can't reasonably update its User-Agent.

I think we'll need to get rid of the transport.Default singleton, and always construct one when creating a tracer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants