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

proposal: contrib/internal/httptrace: refactor span start options handling #1352

Open
Hellzy opened this issue Jun 22, 2022 · 4 comments
Open
Labels
apm:ecosystem contrib/* related feature requests or bugs needs-investigation requires work from team member proposal more in depth change that requires full team approval

Comments

@Hellzy
Copy link
Contributor

Hellzy commented Jun 22, 2022

Options can be added to an existing slice of options either by either append'ing at the front or the back of the slice.
The current behaviour is that appending at the back will overwrite any similar option already present, while at the front
the option will get overwritten by any option already present.

TODO: refactor the way span start options are appended, discuss/normalise/rethink the "back/front" convention for span start options.

@Hellzy Hellzy changed the title contrib/internal/httptrace: refactor work for span start options contrib/internal/httptrace: refactor span start options handling Jun 22, 2022
@katiehockman katiehockman added the apm:ecosystem contrib/* related feature requests or bugs label Jan 11, 2023
@zarirhamza zarirhamza added the proposal more in depth change that requires full team approval label Mar 8, 2023
@katiehockman
Copy link
Contributor

@Hellzy is this still something that you feel we should pursue? Not sure what we can do here other than document this better. I'd certainly be concerned with changing the default behavior now since some customers may depend on the conventions we have right now.

@katiehockman katiehockman added the needs-investigation requires work from team member label Apr 4, 2023
@ajgajg1134
Copy link
Contributor

Do we know of anywhere in the public contrib packages where this is an issue today? From discussion in proposal meeting it seems like we'd be OK to choose and document a consistent approach for internal/httptrace (probably where the caller is allowed to overwrite via the options). Especially since this is an internal shared package. (So consider this tentatively-accepted?)

@knusbaum knusbaum changed the title contrib/internal/httptrace: refactor span start options handling proposal: contrib/internal/httptrace: refactor span start options handling May 30, 2023
@katiehockman
Copy link
Contributor

Since it's been a year since this was opened, and there's been little to no traction, I'll close this issue for now. Please re-open if you still think we should pursue this!

@katiehockman
Copy link
Contributor

Given #2418, let's re-open this.

@katiehockman katiehockman reopened this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:ecosystem contrib/* related feature requests or bugs needs-investigation requires work from team member proposal more in depth change that requires full team approval
Projects
None yet
Development

No branches or pull requests

4 participants