这是indexloc提供的服务,不要输入任何密码
Skip to content

Add support for setting OTLP exporter executor service #7152

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
Mar 13, 2025

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
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