Skip to content

web: fix otel url

Administrator requested to merge vb/fix-otel-url into main

Created by: valerybugakov

Context

Take into account the openTelemetry.endpoint path for the OTel tracing URL. From https://sourcegraph.sourcegraph.com/v1/traces to https://sourcegraph.sourcegraph.com/-/debug/v1/traces

Added relevant unit tests to avoid regressions in the future.

Test plan

  1. ENABLE_OPEN_TELEMETRY=true sg start web-standalone
  2. Open the network tab and see that the v1/traces URL is correct.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading