Skip to content

[v11] Forward traces from the web UI#18598

Merged
rosstimothy merged 2 commits intobranch/v11from
tross/backport-18519/v11
Nov 18, 2022
Merged

[v11] Forward traces from the web UI#18598
rosstimothy merged 2 commits intobranch/v11from
tross/backport-18519/v11

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #18519 to branch/v11

Adds a `/webapi/traces` endpoint to the proxy web handler
to allow receiving traces from the UI so that they can
be forwarded to the configured exporter in the proxy_service.

To accomodate traces coming in via websockets the tracing
handler is updated to pull tracing context first from the
standard headers and fallback to retrieving it from a query
parameter as web sockets from the UI cannot alter headers.

Additionally update `web.Terminal` to propagate the tracing
context properly and instruments some of the functions
to ensure spans from the UI are properly correlated to spans
on the backend.
@rosstimothy rosstimothy force-pushed the tross/backport-18519/v11 branch from 03f6d3a to 94d1807 Compare November 18, 2022 14:22
@rosstimothy rosstimothy marked this pull request as ready for review November 18, 2022 17:13
@github-actions github-actions Bot removed the request for review from zmb3 November 18, 2022 19:06
@rosstimothy rosstimothy enabled auto-merge (squash) November 18, 2022 19:06
@rosstimothy rosstimothy merged commit bc40cdc into branch/v11 Nov 18, 2022
@rosstimothy rosstimothy deleted the tross/backport-18519/v11 branch November 18, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants