Skip to content

internal/trace: use otelhttp, update deprecation notices

Administrator requested to merge trace-ot-cleanup into main

Created by: bobheadxi

Swap out the OpenTracing HTTP middleware with otelhttp, with a default constructor provided in a new package internal/instrumentation. Also adds deprecation notices on internal/trace/ot, and updates deprecation notices in internal/trace so that they render properly in VS Code.

Test plan

sg start, run a trace

image

In vscode, try to autocomplete a deprecated API:

image image

Merge request reports

Loading