* Replace references to SpanAttributeConstants with constants from SemanticConventions
* Missed a few references to the "component" attribute in some tests.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Extension method to support Status.
* Added tests and status support for otlp.
* Fix test
* Added description to Status API
* Resolving conflict
* Resolve conflict
* Avoid status object allocation.
* Check for null
* Resolving conflict
* resolving conflict
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Attempting to get Redis instrumentation up and working using ActivitySource API.
* updating tests
* renaming and updating tests
* Test fixes.
* Fixed Redis net461 tests failing on connection.
* Redis integration tests and bug fixes.
* Adding tests
* Put back redis connection options.
* Updates for changes in master.
* adding comments to testRedis
* updating based on comments
* updating summary
* Switched a couple spots using string keys to constants.
* Redis integration tests
* Small tweak to the GitHub action to make it more consistent with the others.
* Made instrumentation internal. Updated README.
* rename MaxFlushInterval to FlushInterval, adding flushInterval to samples
* Removed running of non-integration tests from Redis dockerfile.
Co-authored-by: Eddy Nakamura <eddynaka@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
updating zipkinexporterbenchmarks and removing zipkinTraceExporter/Tests
updating TestRedis
adding testjaeger text
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Added forceflush
* Modified forceflush to flush activity object created before this call.
* Resolving conflict
* Resolving conflict
* Fix tests.
* changed API summary
* Added ConfigureAwait, processors count to task list
* Changes API summary
* Remove SpanExporter from ConsoleExporter. Only Activity exporter needs to remain.
* rename console activity exporter to just console exporter
* change example dotnet run
* minor
* Added instrumentation for netfx SqlClient.
* Code review.
* Send "db.statement_type" instead of "db.statementType".
* Added integration tests for SqlEventSource.
* Adding .github folder to solution.
* Added a couple missing files into the solution.
* Added FakeSqlEventSource tests.
* Fixed up GrpcClientDiagnosticListener for EventSource changes.
* Removed extra ActivityListener from unit tests.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
cleaning props/targets
updating to new version of codecov
adding env_vars
updating yml
adding env_vars
solving compilation issue
adding source root
adding source root
fixing wrong tag
commenting sourceroot
enabling deterministic for packs only
changing job titles
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Pull logic out of gRPC client instrumentation into helper class + add tests
* Fix parsing rpc.service with package that has multiple parts
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Wire up Grpc.Net.Client instrumentation
* Fix missed namespace change
* Fix typos
* Make regex private static
* diagnosticSourceSubscriber cannot be null
* Use grpc.method tag from activity for span name and service attribute
* gRPC instrumentation set Span.Status
* Revert "gRPC instrumentation set Span.Status"
This reverts commit be89687865.
* Set span.Status from grpc.status_code tag on activity
* Remove code and comments regarding context propagation
* Remove OnException override. GrpcClient does not have an OnException event.
* Update GrpcClient instrumentation to use ActivitySource
* Add simple test of GrpcClient instrumentation
* Remove usused method
* Remove Grpc.Core reference and use version 2.25.0 of other Grpc dependencies
* Throw if activitySource is null
* Retrieve Activity.Kind PropertyInfo once
* Add grpc.system attribute
* Update rpc.service attribute per change to RPC spec
* Make ActivityKindPropertyInfo static
* Change default URI to localhost
* Add rpc.method attribute to span
* Add rpc.service and rpc.methods attributes only on successful match
* Add constants for the tags sourced from the Grpc.Net.Client library
* Simplify test scaffolding for Grpc tests
* Add test showing spans collected from Grpc instrumentation and underlying HttpClient instrumentation
* Include package in rpc.service attribute
* Make GrpcClientInstrumentation internal
* Validate that the HTTP span is a child of the gRPC span
* Set Activity.DefaultIdFormat in constructor
* After making call to gRPC stop the test host
* Revert "After making call to gRPC stop the test host"
This reverts commit e7a7cbb8ed.
* Upgrading gRPC dependencies to 2.30.0-pre1 to resolve test flicker
* Use Grpc.Tools 2.25.0
* Replace Grpc.AspNetCore reference with Grpc.AspNetCore.Server
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Make HttpClientInstrumentation and SqlClientInstrumentation internal
* Make AspNet and AspNetCore instrumentation internal
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>