* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API. (#2249)
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 2 (#2254)
* Use a single context.Items key for state management to make things more efficient.
* Added a comment for clarity.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 3 (#2256)
* Update ASP.NET instrumentation to use the new TelemetryHttpModule.
* Fixed TelemetryHttpModule not starting its Activity objects. Added an example of request suppression.
* Tweaks an logging improvements.
* Sealed AspNetInstrumentationEventSource.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 4 (#2258)
* Fixed up TelemetryHttpModule unit tests.
* Added tests for the new HasStarted helper and added checks for StartedButNotSampledObj when not sampled.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 5 (#2261)
* Updated ASP.NET instrumentation tests for new TelemetryHttpModule.
* Added a test for the new RecordException option.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 6 (#2264)
* CHANGELOG & README updates.
* Apply suggestions from code review
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Lint + sanity checks.
* Lint attempt 2.
* Restored CHANGELOG changes lost in merge.
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Send StatusCode as a string. Send error flag in Zipkin & Jaeger when StatusCode == Error.
* Missed one spot.
* Removed code setting otel.status_description to http status description.
* Unit test fixup.
* Update CHANGELOG.
* Updated http instrumentation CHANGELOG.
* Code review.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Mark activity extensions as internal
* format
* test proj adjustments
* more cleanups
* temporarily remove benchmark. this should be brought back after splitting the project into multiple projects
* fix w3ctracecontext tes
* fix grpctest refs
* Update src/OpenTelemetry.Api/CHANGELOG.md
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Replacing Tags for TagObjects and AddTag for SetTag
updating tests
updating tests
* removing toString from stackExchange test method
* tentative to solve redis test failure
* updating tests
* updating test
* checking for only one element
* Trying GetTagValue extension in http-in unit test projects.
* Grpc now uses GetTagValue.
* Updated new unit tests to use SetTag.
* Updated Http instrumentation for GetTagValue.
* Update Sql instrumentation to use GetTagValue.
* Updated Redis instrumentation to use GetTagValue.
* Removed references from test projects that weren't needed.
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* Removing Todos
renaming parameter
adding tests
updating spanbuilderShim
updating to internal
renaming to spanAttributes
solving build issue
adding spec reference
Continue Refactoring TracerProvider. (#1035)
* optimize the flow
* fix instrumenataion
* move mroe things to provider ctor
* move logic arounds
Co-authored-by: Reiley Yang <reyang@microsoft.com>
changing to class and following spec to replace value
replacing from default to null
updating package
adding xunit.runner
renaming method
* removing duplicated files
* adding some tests and updating to default constructor
* removing to be compliant to spec
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>