internal/trace: use otelhttp, update deprecation notices
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
In vscode, try to autocomplete a deprecated API: