* 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>
* 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>
* 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>
* Update OpenTelemetry Protocol Exporter
Update the OTLP to version 0.3.0 of the proto files.
* Revert change to library resources
* Rename UseOpenTelemetryProtocol to UseOtlpExporter
* Rename UseOtlpExporter to UseOpenTelemetryProtocolExporter
* refactor: sln, csproj, and dir to Extensions.Hosting from Hosting
* refactor: ref Microsoft.Extensions.Hosting.Abstractions instead of concrete
* refactor: ns to Extensions.Hosting from Hosting
* docs: OpenTelemetry.Extensions.Hosting rename from OpenTelemetry.Hosting
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* Added a collector for incoming ASP.NET requests.
* Unit tests.
* Code review.
* Attempting to get windows build working.
* Attempting to fix build.
* Attempting to get the build working.
* Attempting to get the build working.
* Attempting to fix the build.
* Attempting to get Linux build working.
* Attempting to get linux build working.
* Attempting to get linux build working.
* Attempting to get build working.
* Attempting to get all tests running on windows.
* Attempting to get tests running on windows.
* Attempting to get the myget build working.
* Indention fix in myget yml.
* Code review.
* Code review.
* Code review.
* Code review.
* Code review.
* Initial work.
* First complete version of Jaeger with perf improvements.
* Added JaegerExporter benchmarks.
* More performance revisions.
* ValueTask perf improvements.
* Missed a couple tasks.
* Removed null check against struct.
* Tweaked how structs are used.
* Figured out why the structs were eating more memory. Fixed up unit tests.
* Reverted change to ToJaegerSpan extension signature.
* Fixed JaegerUdpBatcher not calling CloseAsync in dispose, fixed SpanExporters not being disposed.
* Reference System.Threading.Tasks.Extensions for net46 & netstandard2.0 builds of Thirft to add in ValueTask.
* Removed the fork of Thrift in favor of the official package.
* Increased number of spans per iteration in jaeger benchmarks. Switched ApacheThrift to PrivateAssets=all in jaeger exporter project.
* New algorithm for memory management.
* Fixed double-allocation of tags.
* Immutable structs. Added cancellationToken to IJaegerClient interface.
* Added lists that can be backed be pooled buffers.
* Everything in implementation folder is now internal.
* Return ref from PooledList indexer.
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* Switched to System.Text.Json for .NET Standard 2.0 target. Added caching of ZipkinEndpoints. Added support for sending RemoteEndpoint to Zipkin API.
* Code review feedback.
* Code review.
* Zipkin performance improvements.
* Made json header static.
* Removed debug code.
* Bumped up the numbers of spans in benchmark to get more consistent results.
* Code review.
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* zPages project onboarding
This is the intital commit for zPages exporter
* Updating csproj for zPages
Removing Implementation folder from csproj since it is not used yet
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* .net core 3.0 in maintance mode and end of support will be in march 2020
* more 3.1
* revent covelet and update IHostingEnvironment Warning
* rerun github check
* Add W3C TraceContext validation test app
* fix linux build
* some fixes
* Use ASP.NET Core test app as W3C test suite example
* broken solution
* remove new project
* move tests to 3.0
* update minver
* fix http tests to force 2.0
* minver is in common props, remove from projects
* move lightstep tests to 3.1
* Add Promethues Exported relying on new Metric, to allow deleting of old Stats files.
* Counter fixes
* Add PrometheusExporter test project
* Nuke the Stats folder completely. Exporters are also deleted and they will be brought back with new metric api.
* Build OpenTelemetry.Exporter.Ocagent.csproj based on latest .proto files
.proto files forked from https://github.com/open-telemetry/opentelemetry-proto
@4b6ff88e525739a2b1d2cbed619301076c6687e7
and build using Grpc.Tools
* Adding README file with a SHA for .proto files fork
* Moving OpenTelemetry.Exporter.Ocagent to OpenTelemetry.Exporter.OpenTelemetryProtocol
Apparently the build pipeline for the master branch ci is not looking
exclusively at the .sln, so this project must build.
This is simply a build fix and nothing else.
Adding the otelcol exporter to the .sln
* Adding project placeholders for the OpenTracing shim
Issues:
[Create an OpenTracing Bridge](https://github.com/open-telemetry/opentelemetry-dotnet/issues/28)
* Reference Abstractions instead of the SDK initially
* Innocuous change to trigger the build again. Looks like a non-deterministic transient test failure to me
* move and rename "Samples" project to "samples\Exporters"
* add "LoggingTracer" as an example of an API implementation
* add readme to solution file
* remove Samples project from solution
* fix scoping
* add "LoggingTracer" as an example of an API implementation
* add readme to solution file
* fix scoping
* changed back to 2.1. was an accidental change.
* added "Demo" to project names
* adapted LoggingTracer to API changes. stripped down asp.net core example to bare minimum.
* cleaned up LoggingTracer sample. not more NotImplementedExceptions, adhere to code style better (usings), don't log getters
* consistency fixes
* made console sample async, code style
* adapt to API changes