Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK(C#): add OpenTelemetry.Instrumentation.Http as a dependency, and …
…autoinstrument This will automatically create activity spans and metrics around http calls, and propagate traceparent in HTTP Headers. We are not required to use this (e.g. could manually fetch the activity and create the headers), but it is a quick-start for using OpenTelemetry. Eventually we might want to fetch and add the headers ourselves, because this SDK may not be the only user of HttpClient in an application, and it should really be the application deciding to instrument all http calls, rather than this SDK. We do want to always propagate any traceparents we get from the application, even if we don't have any tracing enabled ourselves. Signed-off-by: Edwin Török <[email protected]>
- Loading branch information