* Introduces the concept of IProviderContainer which allows injection of a TracerProvider into lower levels (Processor, Exporter, etc.).
* Removed IProviderContainer and fixed the provider types.
* Removed log provider example.
* Working on getting everything working with the new API.
* Attempting to get all the tests passing.
* Added concept of BaseProvider. Updated public API.
* Project fixup.
* Removed OnParentProviderSet.
* Updated changelog.
* Test fixup.
* Test fixup.
* Cleanup.
* Updating Status based on the new spec
commenting OtlpTrace.Status.Type check
fixing test
undoing change to statuscanonicalcode
fixing tests
reiley's comments
SetStatus now saves enum instead of string
fixing changes after conversion
fixing redis tests
from http spec, if 1xx,2xx,3xx => unset, otherwise error.
from rpc spec, if ok => unset, otherwise error.
fixing sql tests
fixing redis tests
* fixing sqlclient framework tests
* adding benchmark to status
* changing from hashset to simple if, readding statuscode for grpc
* extract common part
* make process/exporter generic
* update dependencies
* update all the tests and docs
* clean up
* changelog
* update readme
* prevent LogRecord to be inherited
* simplify example
* simplify the code
* revert accidental change
* Remove grpc.method and grpc.status_code tags
* Remove unused usings
* Remove TODO that is probably a WONTDO
Co-authored-by: Cijo Thomas <cithomas@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>
* improve comments
* only TracerProvider.Dispose will call processor.Shutdown
* add comments
* update test cases
* update test case
* cleanup nits
* fix plural form
* 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
* Modified sampler to return Decision
* Added missing functionalites affected with conflict.
* Added test
* Fix test
* Removed IsAllDataRequested check from processor
* Checking if sampler is null.
* Adding code missed from conflict
* Incorporating PR feedback
* Fix test
* Removed OpenTelemetry.Trace.Samplers namespace
* Update to changelog
* Moved test to tracersdk
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Updated default sampler to match the spec. Fixed broken ParentOrElseSampler.
* Fixed http-in instrumentation creating Activity objects with invalid parents.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Change gRPC test project name and namespace
* Use SpanAttributeConstants in GrpcClientTests
* Add test for Grpc.AspNetCore instrumentation
* Add gRPC attributes for ASP.NET Core
* Prevent parallel execution of gRPC client and server test suites
* Add wait logic from AspNetCore tests ensuring end callback gets invoked
* Partial class for gRPC test to resolve test conflicts
Co-authored-by: Michael Goin <michaelgoin@gmail.com>
* Make "grpc" a const
* Set http.status_code attribute even on a gRPC invocation
* Fix GrpcFixture
* Add checks for http.* attributes to ASP.NET Core gRPC test
* Fix merge snafu
* Update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Michael Goin <michaelgoin@gmail.com>