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

[hotrod] Return trace ID via traceresponse header #4584

Merged
merged 3 commits into from
Jul 16, 2023

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jul 16, 2023

Which problem is this PR solving?

Since the HotROD UI does not start traces, it can only search for a trace corresponding to a particular request by some span tags. This makes the experience of opening a trace a big clunky as we first see the search page with one trace, and then have to click on the trace again.

Related to #3380

Short description of the changes

Change the HTTP instrumentation to always generate a traceresponse header per the current W3C draft. Then parse the trace ID from that header in the UI and generate a hyperlink to open the trace view directly, bypassing the search.

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@codecov
Copy link

codecov bot commented Jul 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (fab0369) 97.05% compared to head (bcbb6ce) 97.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4584   +/-   ##
=======================================
  Coverage   97.05%   97.05%           
=======================================
  Files         301      301           
  Lines       17839    17839           
=======================================
  Hits        17313    17313           
  Misses        422      422           
  Partials      104      104           
Flag Coverage Δ
unittests 97.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@yurishkuro yurishkuro marked this pull request as ready for review July 16, 2023 01:56
@yurishkuro yurishkuro requested a review from a team as a code owner July 16, 2023 01:56
@yurishkuro yurishkuro requested a review from pavolloffay July 16, 2023 01:56
@yurishkuro yurishkuro merged commit 9184b90 into jaegertracing:main Jul 16, 2023
@yurishkuro yurishkuro deleted the tracereponse branch July 16, 2023 05:06
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.

1 participant