open-telemetry / opentelemetry-dotnet-contrib

This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
https://opentelemetry.io
Apache License 2.0
421 stars 251 forks source link

[onecollector] Add LoggerProviderBuilder registration extension #1876

Closed CodeBlanch closed 2 weeks ago

CodeBlanch commented 2 weeks ago

Changes

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 94.73684% with 5 lines in your changes missing coverage. Please review.

Project coverage is 91.51%. Comparing base (71655ce) to head (f1f4a4c). Report is 294 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876/graphs/tree.svg?width=650&height=150&src=pr&token=DG2DEROH83&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #1876 +/- ## =========================================== + Coverage 73.91% 91.51% +17.59% =========================================== Files 267 26 -241 Lines 9615 1013 -8602 =========================================== - Hits 7107 927 -6180 + Misses 2508 86 -2422 ``` | [Flag](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [unittests-Exporter.OneCollector](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | `91.51% <94.73%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [...rialization/LogRecordCommonSchemaJsonSerializer.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.OneCollector%2FInternal%2FSerialization%2FLogRecordCommonSchemaJsonSerializer.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuT25lQ29sbGVjdG9yL0ludGVybmFsL1NlcmlhbGl6YXRpb24vTG9nUmVjb3JkQ29tbW9uU2NoZW1hSnNvblNlcmlhbGl6ZXIuY3M=) | `98.34% <ø> (-0.83%)` | :arrow_down: | | [...ctor/Logs/OneCollectorLogExportProcessorBuilder.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.OneCollector%2FLogs%2FOneCollectorLogExportProcessorBuilder.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuT25lQ29sbGVjdG9yL0xvZ3MvT25lQ29sbGVjdG9yTG9nRXhwb3J0UHJvY2Vzc29yQnVpbGRlci5jcw==) | `96.73% <100.00%> (+28.99%)` | :arrow_up: | | [...neCollectorOpenTelemetryLoggerOptionsExtensions.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.OneCollector%2FLogs%2FOneCollectorOpenTelemetryLoggerOptionsExtensions.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuT25lQ29sbGVjdG9yL0xvZ3MvT25lQ29sbGVjdG9yT3BlblRlbGVtZXRyeUxvZ2dlck9wdGlvbnNFeHRlbnNpb25zLmNz) | `76.47% <100.00%> (-1.31%)` | :arrow_down: | | [...eCollector/OneCollectorExporterTransportOptions.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.OneCollector%2FOneCollectorExporterTransportOptions.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuT25lQ29sbGVjdG9yL09uZUNvbGxlY3RvckV4cG9ydGVyVHJhbnNwb3J0T3B0aW9ucy5jcw==) | `76.47% <100.00%> (+5.04%)` | :arrow_up: | | [...ogs/OneCollectorLoggerProviderBuilderExtensions.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.OneCollector%2FLogs%2FOneCollectorLoggerProviderBuilderExtensions.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuT25lQ29sbGVjdG9yL0xvZ3MvT25lQ29sbGVjdG9yTG9nZ2VyUHJvdmlkZXJCdWlsZGVyRXh0ZW5zaW9ucy5jcw==) | `81.48% <81.48%> (ø)` | | ... and [253 files with indirect coverage changes](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1876/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)