teleport/lib/httplib
rosstimothy 02433f6eb2
Forward traces from the web UI (#18519)
* Forward traces from the web UI

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.
2022-11-18 13:46:41 +00:00
..
csrf set cluster connector name on signin for first cloud user (#17834) 2022-11-14 14:52:42 +00:00
grpccreds.go Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
httpheaders.go Remove Stripe from Content-Security-Policy header (#15891) 2022-09-13 22:59:23 +00:00
httplib.go Forward traces from the web UI (#18519) 2022-11-18 13:46:41 +00:00
httplib_test.go Forward traces from the web UI (#18519) 2022-11-18 13:46:41 +00:00