KEMBAR78
Add support for setting OTLP exporter executor service by jack-berg · Pull Request #7152 · open-telemetry/opentelemetry-java · GitHub
Skip to content

Conversation

@jack-berg
Copy link
Member

Resolves #6995.

Depends on #7151.

@jack-berg jack-berg changed the title Otlp configurable executor Add support for setting OTLP exporter executor service Feb 26, 2025
@codecov
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 93.75000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 89.92%. Comparing base (a3dd677) to head (ac5e03e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ry/exporter/internal/grpc/GrpcExporterBuilder.java 60.00% 1 Missing and 1 partial ⚠️
...ry/exporter/internal/http/HttpExporterBuilder.java 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7152   +/-   ##
=========================================
  Coverage     89.92%   89.92%           
- Complexity     6662     6677   +15     
=========================================
  Files           750      750           
  Lines         20126    20173   +47     
  Branches       1973     1981    +8     
=========================================
+ Hits          18098    18141   +43     
- Misses         1434     1436    +2     
- Partials        594      596    +2     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jack-berg jack-berg force-pushed the otlp-configurable-executor branch from 241666f to 15a1f3f Compare March 6, 2025 18:29
@jack-berg jack-berg marked this pull request as ready for review March 6, 2025 18:29
@jack-berg jack-berg requested a review from a team as a code owner March 6, 2025 18:29
Comment on lines +239 to +241
* <p>NOTE: By calling this method, you are opting into managing the lifecycle of the {@code
* executorService}. {@link ExecutorService#shutdown()} will NOT be called when this exporter is
* shutdown.
Copy link
Member

Choose a reason for hiding this comment

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

👍

@jack-berg jack-berg merged commit 0673fcf into open-telemetry:main Mar 13, 2025
28 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.

Preserve io.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporterBuilder#setChannel and implement similar logic for HTTP

2 participants