* 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
* 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>
* Step1 of updating to Rc1 of diagnostic source
* Update parent.spanid to parent.traceid as traceid will be default for root.
* add samplingatributes to activity tags
* updating to isremote=true
* updating tests
* changelogs
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* 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>
* Suppress instrumentation in Zipkin exporter
* Check Sdk.SuppressInstrumentation on ActivityListener.ActivityStarted/ActivityStopped
* Remove raw post in test to Zipkin endpoint URL
* Use ForceFlush on exporter
* Call ForceFlush twice
* Remove IsInternalUrl
Co-authored-by: Cijo Thomas <cithomas@microsoft.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
* 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>
* 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>
* 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>
* 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