* 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
* Add Resource to OpenTelemetryBuilder for Activity
* ActivitySourceAdapter to pass parentcontext to sampling.
* More tests
* more tests
* refactoring a bit
* Updated Console Sample for Zipkin exporter to incude activity exporter + fixed a bug in Annotation timestamp.
* Refactored
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Adds HostingProject extension method to support new Activity based api.
* pr comment
* some test refactoring for better cleanup to ensure tests dnt interfere with each other
* use the same activity created by existing instrumentation. Simply enhance it.
* remove sampling from instrumentation
* add asp.net core instrumentation
* move sampling to Instrumentation for now.
Make Asp.Net instrumentation work with Activity API
* Add httpClient .net core instrumentation
* Ad SqlClientInstrumentation
* remove sqlclientinstrumentation from previous instrumentation
* Quick implementation for AzureClients - not validated as there are unit tests and this is not planned to be in this repo as well.
* fix examples
* fix sampling flag
* made sample app work with jaeger
* Mark todos and fix AspNet tests
* Fix asp.net core tests and mark TODOs
* Add TODO for httpclient .net core test and fix test
* add todo and fix httpclient test
* add todos and fil sqlclienttests
* Make OpenTelemetrySDK disposable and take care of disposing all ds subscriptions.
* Added OpenTelemetry.Default instead of static method
* AspNet, AspNetCore fix Dispose issue
* stylecop stuff lost i merge
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Add line break at end of ruleset files
* Correct multi-line parameter after rebase
* Classes scaffolding for zPages
Implemented Http Server to create HTML that displays span count using SimpleSpanProcessor
* incorporating review comments
- made ContentType const in zpages stats builder
- modified return statements in zpages exporter
- removed implementation folder from ZPages.csproj
- changed default uri for zpages test application
- changed data type of spanCount to long, and doing Interlocked.Increment when span starts
* fixing minor error
* Delete Exporters.csproj
Fix for https://github.com/open-telemetry/opentelemetry-dotnet/issues/480
* Delete Exporters.csproj
Fix for https://github.com/open-telemetry/opentelemetry-dotnet/issues/480
* displaying span status on zpages
* Adding Span Error Count and fixing build failure
* Adding Span Latency to zpages http server
* Adding class for storing span information
* Adding methods for calculating latency, count and error count values in last hour and last minutes
* Building HTML for zpage and adding timer for calculating metrics
* Implementation changes
- Added ZPages Span Processor
- Changed the logic for metrics calculation
* Update src/OpenTelemetry.Exporter.ZPages/Implementation/ZPagesStatsBuilder.cs
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* Incoroporating Review Comments
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Add OTLP Exporter for Activity
* Initial PR feedback
* Check ID format and use DisplayName
* Skip the activity instances that could not be translated
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
* Add PushMetricController
* unit test
* Add MeterBuilder and MeterFactory
* adjust tests
* correct prometheus example
* Minors
* small
* Prometheus test
* Fix Prom Middleware test
* few small fixes
* Address comments
* avoid meter to metersdk cast
* one test
* comment
* test fx
* timing adjustment
* minor
* fix Eventname
* avoid unnecessary copy of metric list
* fix trailing spaces etc after merge
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
* Classes scaffolding for zPages
Implemented Http Server to create HTML that displays span count using SimpleSpanProcessor
* incorporating review comments
- made ContentType const in zpages stats builder
- modified return statements in zpages exporter
- removed implementation folder from ZPages.csproj
- changed default uri for zpages test application
- changed data type of spanCount to long, and doing Interlocked.Increment when span starts
* fixing minor error
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>