TracedDefaultClient returns an `http.Client` equivalent to `http.DefaultClient` but with the default transport wrapped via `WrapWithOTel`. Use as a drop-in replacement at call sites that previously did `http.DefaultClient.Do(req)` so OAuth metadata fetches, fetch-tool requests, registry probes, and
()
| 93 | // fetch-tool requests, registry probes, and similar one-off HTTP calls |
| 94 | // chain into the active trace. |
| 95 | func TracedDefaultClient() *http.Client { |
| 96 | return &http.Client{Transport: WrapWithOTel(http.DefaultTransport)} |
| 97 | } |
| 98 | |
| 99 | // TracedClient returns a configurable `http.Client` with the default |
| 100 | // transport already wrapped via `WrapWithOTel`. The supplied options |
nothing calls this directly
no test coverage detected