-
Notifications
You must be signed in to change notification settings - Fork 453
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
BatchSpanProcessor with dedicated thread. #2456
BatchSpanProcessor with dedicated thread. #2456
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2456 +/- ##
=======================================
+ Coverage 76.9% 77.2% +0.2%
=======================================
Files 123 124 +1
Lines 22581 23009 +428
=======================================
+ Hits 17379 17765 +386
- Misses 5202 5244 +42 ☔ View full report in Codecov by Sentry. |
Copilot
AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 7 out of 16 changed files in this pull request and generated no comments.
Files not reviewed (9)
- opentelemetry-zipkin/src/exporter/mod.rs: Evaluated as low risk
- opentelemetry-sdk/benches/batch_span_processor.rs: Evaluated as low risk
- opentelemetry-sdk/src/trace/provider.rs: Evaluated as low risk
- opentelemetry-sdk/src/testing/trace/in_memory_exporter.rs: Evaluated as low risk
- examples/tracing-jaeger/src/main.rs: Evaluated as low risk
- examples/tracing-grpc/src/client.rs: Evaluated as low risk
- examples/tracing-grpc/src/server.rs: Evaluated as low risk
- opentelemetry-sdk/Cargo.toml: Evaluated as low risk
- opentelemetry-otlp/examples/basic-otlp/src/main.rs: Evaluated as low risk
runtime: R, | ||
) -> Self { | ||
let batch = BatchSpanProcessor::builder(exporter, runtime).build(); | ||
pub fn with_batch_exporter<T: SpanExporter + 'static>(self, exporter: T) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to called out in changelog.md file.
@@ -165,13 +164,12 @@ impl ZipkinPipelineBuilder { | |||
/// Install the Zipkin trace exporter pipeline with a batch span processor using the specified | |||
/// runtime. | |||
#[allow(deprecated)] | |||
pub fn install_batch<R: RuntimeChannel>( | |||
pub fn install_batch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add this to changelog as this is breaking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Few nit comments, we can fix in follow ups.
Fixes #2454
Changes
span_processor_with_async_runtime
- which is enabled behind the feature-flag:experimental_trace_batch_span_processor_with_async_runtime
. This is consistent with the batch-processor in logs, and periodic-reader in metrics. Feel free to ignore this during review. It's more of movement from one-file to another.Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes