* 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
* consolidate log and trace processor
* avoid OpenTelemetry.Common namespace
* add benchmarks
* skip test for netcoreapp2.1
* restrict log benchmark to netcoreapp3.1 for now
* Add SelfDiagnostics class which will provide infrastructure to log EventSource events.
* Change the location and access modifier.
* Remove UTF-8 BOM
* update description comment
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Fixed bug in Jaeger Exporter where it was using a buffer from the pool after it was returned.
* Combined the process cache creation with the library resource processing.
* Code review.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Correct check for activity is root in OTLP
* comment about runtime issue
* removing sync linux
* adding TODO and removing rsync section
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* Updating DiagnosticSource to 5.0.0-rc.1.20451.14
* adding link to changelog
* commenting dotnet5 feed
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* 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>
* Fixed broken jaeger benchmarks.
* Setting up benchmarks for improvement testing.
* Removed the double-batching going on with the Jaeger Exporter. Added in some perf improvements.
* Fixing tests.
* Porting JaegerUdpBatcher tests to JaegerExporterTests.
* Fixed some whitespace.
* Updated CHANGELOG.
* Document supported versions of .NET
* Apply suggestions from code review
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Apply suggestions from code review
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* line breaks
Co-authored-by: Reiley Yang <reyang@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>
* Added EnumerateTagValues extension on Activity for enumerating tags.
* Refactor.
* Unit tests and changelog.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* AspNet Instrumentation docs
* Revert "AspNet Instrumentation docs"
This reverts commit 4cbb620533.
* Modify ParentBasedSampler to determine if root based on parentcontext being default
* traceid
* - Add support multiple spans (activities) within the same TraceId.
- Use C# value tupples in cache keys and values to reduce heap allocations and ensure proper key comparison.
- Value names in C# tupples to make code slightly easier to read.
* Fix code formatting error
Fixing the code formatting issue being reported by code scanner.
* Added Unit test for multi-span in Redis
* fixed formatting that stylecop didn't like
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* add doc for ILogger correlation with trace
* fix links
* mention that ILogger correlation only works for .NET5, clarify the options
* distinguish ILogger and Microsoft.Extensions.Logging
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Include net.peer.port in peer.service attribute when applicable
* Update changelog
* Small change to if statement
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>