* Attempting to improve the Resource API.
* XML comment change.
* Updated Resource API based on feedback.
* CHANGELOG update.
* Tweaked variable name.
* CHANGELOG updates.
* Removed OtelEnvResourceDetector from default Resource. Fixed some XML comments.
* Past tense fix for CHANGELOG.
* CHANGELOG formatting.
* Removed the ability to change the environment variable name for OtelEnvResourceDetector.
* Updates for recent refactors.
* Code review.
* Example updates.
* Cleanup.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* 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.
* Updated Jaeger & Zipkin exporters to check for default activity.ParentSpanId.
* Tabs are less filling, but spaces taste great.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Refactor peer service logic into a shared location. Support building peer.service tag in OtlpExporter.
* Added unit tests for OtlpExporter peer service support. Refactored a few things around to resolve types ending up in multiple assemblies.
* Refactored Zipkin to use the new PeerServiceResolver.
* Updated changelog.
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Updated ZipkinExporter to take service name & send tags from Resource if it is set.
* Added LocalEndpoint.Tags code to net452 path.
* Updated CHANGELOG.
* Remove the old Zipkin LocalEndpoint override as it now has the Resource mechanism.
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* 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
* 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>
* ZipkinExporter for net452 will treat everything as string
* using try/finally
* adding array test and helper method
* adding aggressiveinlining
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
* Initial make build fix commit
* change Link public API to accept ActivityTagsCollection
* Add more SetAttribute overload to support int bool float and bool
* changelog
* Replace AddTag with SetTag in Activity
* disable a test for temporary progress
* reformat
* url fix
* Update Diagnosticourcepackage
* version fix
* ActivityTagsCollection
* console exporter fix
* one basic test
* minor
Adding tests for zpages and hosting extensions
Testing enableConnectionLevelAttributes from SqlClient
updating assert
Adding tests for SqlClientInstrumentationOptions
removing extra test
undoing changes
updating changelog
renaming file to be complicant with other exporters
renaming files and adding more tests
* 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 zipkinexporterbenchmarks and removing zipkinTraceExporter/Tests
updating TestRedis
adding testjaeger text
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>