* 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>
* Updated HttpWebRequestDiagnosticSource to use the new .NET 5 ActivitySource API.
* Code review part 1 and string allocation reduction.
* Code review part 2 added ExceptionInitializingInstrumentation event.
* Code review feedback 3.
* Code review feedback 4.
* Updated unit tests and some code review feedback.
* Updated to JaegerActivityExporter since it was just merged.
* Refactored http tag value caching so that it can be shared in dependencies project.
* Code review.
* Noticed a couple comments needed to be updated.
* Added Activity.IsAllDataRequested logic.
* Code review.
* Reverted change to OpenTelemetrySdk.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Add test for MeterFactory
* Try remove file header diff
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* add Paulo as the approver
* update CODEOWNERS
* fix nit
* Add OTLP for Activity Exporter (#679)
* 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>
* Rename Adapter to Instrumentation per latest spec (#681)
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.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>
* Fix 'dotnet test OpenTelemetry.sln' out of Windows
The test requires VS to run but even with mono it fails at run time since it references types that only exist on Windows .NET Framework.
The workaround is to not include the test runner outside of Windows, this shows a warning when the command is run outside of Windows.
* Remove extra white space
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.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
* clean up README.md
* fix typo
* Update README.md
Co-Authored-By: Paulo Janotti <pjanotti@splunk.com>
* remove dev specific instruction
* add exporter specific docs
* add a separate doc on custom exporters/samplers
* clean up
Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
* Modify Metric to not have generic. Instead create separate classes for long and double
* refactor exporter to extract common code into method
* minor
* Fix prometheus serialization
* Modify Metric to better match record with description and list of metricdata.
* Add or Modify tests
* remove generic
* Revert "remove generic"
This reverts commit 4799c01224.
* Add ProxyMeter to MeterFactoryBase which invokes real Meter if provided.
* remove unwanted copy of a test file.
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* 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>
* Add new ctor to Status, Rename CanonicalCode to StatusCanonicalCode. Both changes make code match the spec.
* revert Status public ctor. There already exists a more efficient way to create Status without ctor.
* minor
* PropertyName in Status to be simply CanonicalCode ionstead of StatusCanonicalCode, as the name of class itself is Status already and hence no need to repeat in property name
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>