Skip to content

lib,src,test: add http protocol version to spans#276

Closed
santigimeno wants to merge 3 commits intonode-v22.x-nsolid-v5.xfrom
santi/http_protocol_version
Closed

lib,src,test: add http protocol version to spans#276
santigimeno wants to merge 3 commits intonode-v22.x-nsolid-v5.xfrom
santi/http_protocol_version

Conversation

@santigimeno
Copy link
Copy Markdown
Member

Fixes: https://github.com/nodesource/nsolid-roadmap/issues/26

It also comes with a couple of commits fixing/improving tracing issues:

lib: cleanup tracing channels subscriptions
    
No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.
lib: fix undici span propagation
    
Don't use the current active span but store the span in the `request`
instance and retrieve it from there when needed.

No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.
Don't use the current active span but store the span in the `request`
instance and retrieve it from there when needed.
Copy link
Copy Markdown
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

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

lgtm

santigimeno added a commit that referenced this pull request Mar 10, 2025
No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request Mar 10, 2025
Don't use the current active span but store the span in the `request`
instance and retrieve it from there when needed.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request Mar 10, 2025
Fixes: nodesource/nsolid-roadmap#26
PR-URL: #276
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
@santigimeno
Copy link
Copy Markdown
Member Author

Landed in d41e139...e83552a

@santigimeno santigimeno deleted the santi/http_protocol_version branch March 10, 2025 07:56
santigimeno added a commit that referenced this pull request May 1, 2025
No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 1, 2025
Don't use the current active span but store the span in the `request`
instance and retrieve it from there when needed.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 1, 2025
Fixes: nodesource/nsolid-roadmap#26
PR-URL: #276
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 2, 2025
No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 2, 2025
Fixes: nodesource/nsolid-roadmap#26
PR-URL: #276
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 7, 2025
No need to subscribe to the `TracingChannels` directly, but calling
`bindStore()` it's enough as it sets the channel as `ActiveChannel`.

PR-URL: #276
Fixes: nodesource/nsolid-roadmap#26
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
santigimeno added a commit that referenced this pull request May 7, 2025
Fixes: nodesource/nsolid-roadmap#26
PR-URL: #276
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
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.

3 participants