* 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>
* Suite of example applications demonstrating context propagation with RabbitMQ
* Put System.* namespaces first
* Newline at EOF
* Fix markdownlint errors
* markdownlint fix
* Refactor WorkerService separating OpenTelemetry related logic from RabbitMQ boilerplate
* Refactor WebApi separating OpenTelemetry related logic from RabbitMQ boilerplate
* Use environment variables for RabbitMQ user/pass
* Add some comments
* Fix RabbitMQ default user/pass
* Use correct ActivityKind
* Add attributes following messaging specification
* Clearing a path through the RabbitMQ jungle
* Log something when sending/receiving a message
* Code style clean up
* Default logging to info level
* Create queue if it does not exist
* Rename controller to SendMessageController
* Refine the readme
* MarkdownCop
* Fix merge snafu
* Add null checks on activity
* Add a missed null check
* Use AddOpenTelemetry in ConfigureServices
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* Change gRPC test project name and namespace
* Use SpanAttributeConstants in GrpcClientTests
* Add test for Grpc.AspNetCore instrumentation
* Add gRPC attributes for ASP.NET Core
* Prevent parallel execution of gRPC client and server test suites
* Add wait logic from AspNetCore tests ensuring end callback gets invoked
* Partial class for gRPC test to resolve test conflicts
Co-authored-by: Michael Goin <michaelgoin@gmail.com>
* Make "grpc" a const
* Set http.status_code attribute even on a gRPC invocation
* Fix GrpcFixture
* Add checks for http.* attributes to ASP.NET Core gRPC test
* Fix merge snafu
* Update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Michael Goin <michaelgoin@gmail.com>
* improve project props management
* use less strict version
* add comment
* workaround redis test
* reduce the scope of change
* Revert "reduce the scope of change"
This reverts commit 059ef3a6ef956978c61b101ed5914203b214c2a0.
* revert
* try to fix docker
* try to fix docker
* manually update the sln file
* dotnet-format check
updating name
updating order
Update dotnet-format.yml
updating job name
Updating files based on dotnet-format
updating sanitycheck
updating os
* updating workflows
* adding path to editorconfig
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.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
* Updating samples folder path
* Updating from Web to AspNetCore
* updating paths and namespaces
* merging docfx, markdownlint and spellcheck to docs.yml
merging integration-redis and integration-sql to integration.yml
* updating files to work on vscode
* creating extensions.json to simplify usage
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>
* 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