* 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
* Updating to use SpanAttributes
* updating link tests
* adding changelog and testing all supported types
* Update CHANGELOG.md
* updating changelog
* updating TelemetrySpan
* updating changelog
* updating to pass in tests
* changing to spanAttributes
* Adding tests
* Adding tests to Zpages
* updating tests
* checking purge
* merging tests to prevent parallel run issue
* checking if not empty
* adding collection to not run in parallel
* renaming
* checking nonevents in EventSource
* removing collections
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Changing OtlpExporter
* updating changelog with last PR number
* solving null reference while converting activitylinks
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* Updating VSTest nuget
* updating to stable version
* updating nuget
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* Add SuppressInstrumentation check in the ActivityListener
* Add SuppressInstrumentation check in the DiagnosticSourceListner
* Fix things post merge
* Put AlwaysOn/AlwaysOff sampler check back in the constructor
* Added raw objects available to instrumentation as Activity custom properties.
* Updated CHANGELOGs.
* Added "OTel" prefix to custom properties. Moved to constants.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Checking type before adding to tags
* Checking if value is null, adding more tests
* changing order to prevent useless conversion
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* implement BatchExportActivityProcessor
* fix typo
* wrap comments
* no need to stop a Stopwatch
* fix nit
* add thread name
* adopt zero-alloc enumerator
* avoid calling exporter with zero item
* better naming
* clean up
* fix the missing exportTrigger reset
* shutdown drain till sentry
* simplify the flow
* simplify the code
* periodic polling to avoid dead lock
* Added a union object to enable allocation free foreach of activity batches. Tweaked the CircularBuffer algorithm.
* Fixed file header.
* Switched ActivityBatch to Batch<T>.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* 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>
* Add OTel Collector docker to OTLP example
Adding a configuration and instructions on how to run the OpenTelemetry Collector to receive the spans generated using the OTLP exporter.
* Correct example instructions
* Separate Unix and Windows instructions
* Move collector config file to its own folder
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Make suppress instrumentation APIs less prone to introducing bugs
* Update changelog
* Change return type to IDisposable
* Make SuppressInstrumentationScope.Begin public
* Remove Sdk.BeginSuppressInstrumentationScope
* Fix exporter example
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
removing tag
code review - 1
undoing to Count == 0
updating files
adding IEquatable
Adding tests
updating version and adding tests
updating net test version
rollback version update
adding more tests
removing extra line
updating files
Adding more tests
reverting change based on benchmark
updating gethashcode
updating files
sampling results tests
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>