Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Logs-branch] Port scope buffering fix to logs branch #3736

Merged

Conversation

CodeBlanch
Copy link
Member

Changes

Ports the fix from #3731 to the new API in main-logs branch.

CodeBlanch and others added 2 commits October 5, 2022 14:03
* Fix buffered log scopes being reused.

* CHANGELOG update.

* Test fixes.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
@CodeBlanch CodeBlanch requested a review from a team October 5, 2022 23:27
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #3736 (310e8cb) into main-logs (ad5b53e) will increase coverage by 0.13%.
The diff coverage is 96.00%.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           main-logs    #3736      +/-   ##
=============================================
+ Coverage      87.19%   87.32%   +0.13%     
=============================================
  Files            298      299       +1     
  Lines          10609    10628      +19     
=============================================
+ Hits            9250     9281      +31     
+ Misses          1359     1347      -12     
Impacted Files Coverage Δ
...HttpListener/Internal/PrometheusExporterOptions.cs 100.00% <ø> (ø)
...ensions.Hosting/OpenTelemetryServicesExtensions.cs 100.00% <ø> (ø)
...ometheus.AspNetCore/PrometheusAspNetCoreOptions.cs 75.00% <75.00%> (ø)
src/OpenTelemetry/Logs/LogRecord.cs 65.15% <96.15%> (+4.13%) ⬆️
.../PrometheusExporterApplicationBuilderExtensions.cs 100.00% <100.00%> (ø)
...rometheusExporterEndpointRouteBuilderExtensions.cs 100.00% <100.00%> (ø)
...rometheusExporterMeterProviderBuilderExtensions.cs 100.00% <100.00%> (ø)
...etheus.HttpListener/Internal/PrometheusExporter.cs 100.00% <100.00%> (ø)
...theusHttpListenerMeterProviderBuilderExtensions.cs 92.85% <100.00%> (ø)
...heus.HttpListener/PrometheusHttpListenerOptions.cs 100.00% <100.00%> (ø)
... and 11 more

@CodeBlanch CodeBlanch merged commit 9aebae2 into open-telemetry:main-logs Oct 6, 2022
@CodeBlanch CodeBlanch deleted the port-scope-fix-to-logs-branch branch October 6, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants