-
Notifications
You must be signed in to change notification settings - Fork 821
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
[plugin-http] Create a span builder #394
Labels
enhancement
New feature or request
Milestone
Comments
Is this still relevant? |
Hi Mayur Kale, I believe, it would be useful for http/2 plugin, also it's a suggestion in order to centralize how we build span for http in a general manner. It will be easier for mainteance. WDYT ? |
OlivierAlbertini
added a commit
to VilledeMontreal/opentelemetry-js
that referenced
this issue
Dec 21, 2019
closes open-telemetry#373, open-telemetry#394 Signed-off-by: Olivier Albertini <[email protected]>
mayurkale22
added a commit
that referenced
this issue
Jan 2, 2020
* feat(plugin-http): add/modify attributes closes #373, #394 Signed-off-by: Olivier Albertini <[email protected]> * fix: change remotePort to localPort refactor: remove useless checks test: add assertions Signed-off-by: Olivier Albertini <[email protected]> * test(plugin-https): sync with http plugin Signed-off-by: Olivier Albertini <[email protected]> Co-authored-by: Mayur Kale <[email protected]>
pichlermarc
pushed a commit
to dynatrace-oss-contrib/opentelemetry-js
that referenced
this issue
Dec 15, 2023
…pen-telemetry#394) Co-authored-by: Valentin Marchaud <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of building all attributes in the HttpPlugin class, ctor should take a
SpanBuilder
that add attributes to the span.In this way,
applyCustomAttributesOnSpan
, so no need to have a try/catch and check if the callback exists)The text was updated successfully, but these errors were encountered: