* 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>
* 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>
* Suite of example applications demonstrating context propagation with RabbitMQ
* Put System.* namespaces first
* Newline at EOF
* Fix markdownlint errors
* markdownlint fix
* Refactor WorkerService separating OpenTelemetry related logic from RabbitMQ boilerplate
* Refactor WebApi separating OpenTelemetry related logic from RabbitMQ boilerplate
* Use environment variables for RabbitMQ user/pass
* Add some comments
* Fix RabbitMQ default user/pass
* Use correct ActivityKind
* Add attributes following messaging specification
* Clearing a path through the RabbitMQ jungle
* Log something when sending/receiving a message
* Code style clean up
* Default logging to info level
* Create queue if it does not exist
* Rename controller to SendMessageController
* Refine the readme
* MarkdownCop
* Fix merge snafu
* Add null checks on activity
* Add a missed null check
* Use AddOpenTelemetry in ConfigureServices
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* initial ideal how to refactor provider
* dumping more ideas
* more improvements
* update example
* improve perf when no sampler is specified
* put more examples
* composite processor
* update the tutorial
* more check
* nit
* update tutorial
* 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>
* Make SuppressInstrumentation an IDisposable
* Simplify SuppressInstrumentation
* Rename to SuppressInstrumentationScope
* Clean up comment
* Implicit operator instead of IsSuppressed property
* Make SuppressInstrumentationScope constructor internal
* Clean up some names
* Update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>