Skip to content

Add CompletableFuture$ThreadPerTaskExecutor to allow list #1008

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 2 commits into from
Sep 20, 2019

Conversation

tylerbenson
Copy link
Contributor

This allows trace propagation for CompletableFuture’s asyncPool even if useCommonPool is disabled.

Also added some additional futures to WHITELISTED_FUTURES and sorted list.

This allows trace propagation for CompletableFuture’s asyncPool even if `useCommonPool` is disabled.

Also added some additional futures to `WHITELISTED_FUTURES` and sorted list.
@tylerbenson tylerbenson requested a review from a team as a code owner September 20, 2019 18:10
@tylerbenson tylerbenson added this to the 0.34.0 milestone Sep 20, 2019
@@ -73,6 +73,7 @@ public AbstractExecutorInstrumentation(final String... additionalNames) {
"io.netty.util.concurrent.MultithreadEventExecutorGroup",
"io.netty.util.concurrent.SingleThreadEventExecutor",
"java.util.concurrent.AbstractExecutorService",
"java.util.concurrent.CompletableFuture$ThreadPerTaskExecutor",
Copy link

Choose a reason for hiding this comment

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

This looks good to me :)

@tylerbenson tylerbenson merged commit e977711 into master Sep 20, 2019
@tylerbenson tylerbenson deleted the tyler/thread-per-task branch September 20, 2019 19:33
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