Agent.Subscribe() to register diagnostic subscribers that automatically capture outgoing HTTP calls as spans within your transactions.
Required Imports
HttpDiagnosticsSubscriber
UseHttpDiagnosticsSubscriber to automatically capture all outgoing HTTP requests made via HttpClient as spans. Each HTTP call will appear as a span under the active transaction.