Skip to content

chore: bring back BatchLogProcessorWithAsyncRuntime unit tests #2457

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

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

lalitb
Copy link
Member

@lalitb lalitb commented Dec 19, 2024

Changes

These got removed as part of #2436. I think it's good to have them tested in CI to ensure nothing breaks.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@lalitb lalitb requested a review from a team as a code owner December 19, 2024 12:32
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 91.15646% with 13 lines in your changes missing coverage. Please review.

Project coverage is 76.9%. Comparing base (0fc0764) to head (7ba359a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
opentelemetry-sdk/src/logs/log_processor.rs 91.1% 13 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #2457     +/-   ##
=======================================
+ Coverage   76.1%   76.9%   +0.7%     
=======================================
  Files        122     122             
  Lines      22066   22213    +147     
=======================================
+ Hits       16793   17082    +289     
+ Misses      5273    5131    -142     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -42,7 +42,7 @@ temp-env = { workspace = true }
pprof = { version = "0.13", features = ["flamegraph", "criterion"] }

[features]
default = ["trace", "metrics", "logs", "internal-logs"]
default = ["trace", "metrics", "logs", "internal-logs", "experimental_logs_batch_log_processor_with_async_runtime"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't need this in the default, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh i added this for local tests, will remove this.

@lalitb lalitb merged commit c617be7 into open-telemetry:main Dec 19, 2024
21 checks passed
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.

2 participants