Skip to content
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

Improve error handling for ThreadPoolExecutorInstrumentation #600

Merged
merged 1 commit into from Nov 27, 2018

Conversation

tylerbenson
Copy link
Contributor

If other exceptions are thrown when trying to test the queue, it generates lots of log noise. This should handle it better.

If other exceptions are thrown when trying to test the queue, it generates lots of log noise.  This should handle it better.
@tylerbenson tylerbenson added comp: core Tracer core inst: others All other instrumentations labels Nov 27, 2018
@tylerbenson tylerbenson added this to the 0.20.0 milestone Nov 27, 2018
@tylerbenson tylerbenson modified the milestones: 0.20.0, 0.19.0 Nov 27, 2018
ExecutorInstrumentation.ConcurrentUtils.disableExecutor(executor);
} catch (final Exception e) {
// Other errors might indicate the queue is not fully initialized.
// We might want to disable for those too, but for now just ignore.
Copy link
Contributor

Choose a reason for hiding this comment

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

We actually had this in #564, but yours seems to have more comments :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought we had this somewhere. I couldn't remember where it was though. I wasn't sure if it was lost somehow.

@tylerbenson tylerbenson merged commit e46ab1d into master Nov 27, 2018
@tylerbenson tylerbenson deleted the tyler/threadpool-errors branch November 27, 2018 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: core Tracer core inst: others All other instrumentations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants