* Baggage context part 1.
* A little cleanup.
* Return strings instead of objects. Removed default value in ctor because it generates a compiler warning about struct default constructor being used.
* Updated SDK & API projects for BaggageContext.
* Fixed broken areas, except for CorrelationContext tests.
* First round of tests and bug fixes.
* FIxed up HTTP instrumentation tests.
* Fixed up shim tests.
* More tests and improvements.
* Fixed broken test.
* Test coverage and bug fixes.
* Deterministic GetHashCode + tests.
* Added a link to the baggage api.
* Updated CHANGELOG.
* Renamed BaggageContext -> Baggage.
* CHANGELOG update.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Modify instrumentations to populate context object only if Activity.IsAllDataRequested is set
* AspNetCore tests
* Asp.Net tests
* httpclient tet
* httpwebrequest test
* sqlclient tests
* grpc test
* changelog
* move inside alldatarequested
* remove test which validate customproperty population in propagation only mode
* cop caught
* fix test
* Support W3C Baggage spec.
* Moved baggage propagation to its own ITextFormat. Removed IsInjected.
* updating some tests
* creating nw files
* updating files
* buildable in release
* adding baggage tests
* updating tests
* updating default textformat for http instrumentation
* Removed a few null checks.
* Removed DistributedContext. Drive CorrelationContext off of Activity.Baggage.
* updating issues after merge
* updating based on sanity check
* updating baggage test
* updating tests
* reiley's comments
* move to using
* Updates for http-in and http-out. Updated CHANGELOGs.
* Adding tests.
* updating correlation context
* Added test for TraceContextFormat + BaggageFormat used together.
* Fixed broken tests.
* Code review.
* Test fixup.
* updating order
* updating tests
* updating tests, adding dispose, clearing objects
* updating changelog
* Use "Baggage" instead of "baggage" as the header name.
* Added some basic support for the Baggage limits specified in the spec.
* Fixed and improved ITextFormat log messages.
* Rename TextFormatContext -> PropagationContext.
* Updated ITextFormat implementations so they don't double-extract.
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Creating CompositePropagator
Adding ActivityContext to interface
Adding tests
Updating CompositePropagator + tests
updating comments
Improving performance when size is 0
updating tests
updating default tracestate for empty
MikeGoldsmith review
adding more tests to exemplify usage
Feature/composite propagator refactor (#1)
* Added TestPropagator and switched a couple tests to use it.
* removing extra classes
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
updating changelog and constructor
MikeGoldsmith comments
updating logic
* checking value
* adding inverted test
* updating tests
* removing tracecontext and b3 tests
* testing only aspnet to merge
* Revert "testing only aspnet to merge"
This reverts commit 43ca7d074b.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Provide MeterProvider to replace MeterFactory to be in sync with spec.
* move OpenTelemetrymetrics to metrics folder
* Update examples/Console/TestPrometheusExporter.cs
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Sdk.CreateTracerProvider CreateMeterProvider
* move Sdk to root
* makr Sdk static
Co-authored-by: Reiley Yang <reyang@microsoft.com>
updating README
updating sql integration test
updating yml
updating dockerfile
updating readme
updating global.asax
updating version and readme
removing unused reference, adding properties folder to be similar to OT project
adding zipkin docker in comments
updating to standard2.1
removing unused usings
updating aspnet/aspnetcore methods naming
applying cijo's suggestions
updating projects to compile semantic file, updating comments
Splitting Instrumentation Projects
updating README
updating sql integration test
updating yml
updating dockerfile
updating readme
updating global.asax
updating version and readme
removing unused reference, adding properties folder to be similar to OT project
adding zipkin docker in comments
updating to standard2.1
removing unused usings
applying cijo's suggestions
* expose ActivitySourceFake within OT which mimics ActivitySource for activities created using without ActivitySource.
* modify all instrumentation to use the ActivitySourceAdapter
* minor todo coment
* build fix
* Fix empty activitysource listening for asp.net
* Adds HostingProject extension method to support new Activity based api.
* pr comment
* some test refactoring for better cleanup to ensure tests dnt interfere with each other
* use the same activity created by existing instrumentation. Simply enhance it.
* remove sampling from instrumentation
* add asp.net core instrumentation
* move sampling to Instrumentation for now.
Make Asp.Net instrumentation work with Activity API
* Add httpClient .net core instrumentation
* Ad SqlClientInstrumentation
* remove sqlclientinstrumentation from previous instrumentation
* Quick implementation for AzureClients - not validated as there are unit tests and this is not planned to be in this repo as well.
* fix examples
* fix sampling flag
* made sample app work with jaeger
* Mark todos and fix AspNet tests
* Fix asp.net core tests and mark TODOs
* Add TODO for httpclient .net core test and fix test
* add todo and fix httpclient test
* add todos and fil sqlclienttests
* Make OpenTelemetrySDK disposable and take care of disposing all ds subscriptions.
* Added OpenTelemetry.Default instead of static method
* AspNet, AspNetCore fix Dispose issue
* stylecop stuff lost i merge
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Add line break at end of ruleset files
* Correct multi-line parameter after rebase