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

otelhttptrace: get tracer from request if available #874

Merged
merged 2 commits into from
Dec 1, 2021

Conversation

tonistiigi
Copy link
Contributor

Similar change as #873 for otelhttptrace. Picks up the correct TracingProvider based on parent span in the config.

@Aneurysm9

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

@tonistiigi
Copy link
Contributor Author

Marking as draft so changelog can be updated after #873 merge . If I do it now it will cause a conflict.

@thaJeztah
Copy link

@tonistiigi #873 was merged; guess this needs to be rebased and moved out of draft

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi marked this pull request as ready for review November 3, 2021 01:02
@codecov
Copy link

codecov bot commented Nov 3, 2021

Codecov Report

Merging #874 (ffd526c) into main (ab52e89) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #874   +/-   ##
=====================================
  Coverage   69.3%   69.3%           
=====================================
  Files        127     127           
  Lines       5474    5479    +5     
=====================================
+ Hits        3794    3799    +5     
  Misses      1533    1533           
  Partials     147     147           
Impacted Files Coverage Δ
...on/net/http/httptrace/otelhttptrace/clienttrace.go 76.5% <100.0%> (+0.5%) ⬆️

@thaJeztah
Copy link

@XSAM @Aneurysm9 this one LGTY?

@crazy-max
Copy link

@pellared @XSAM @MadVikingGod Is there a blocker to merge this one? Thx!

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.

None yet

6 participants