Skip to content

Handle when ThreadPerTaskExecutor.threadCount() is not available#7045

Merged
jonatan-ivanov merged 1 commit intomicrometer-metrics:1.15.xfrom
izeye:gh-6726
Jan 7, 2026
Merged

Handle when ThreadPerTaskExecutor.threadCount() is not available#7045
jonatan-ivanov merged 1 commit intomicrometer-metrics:1.15.xfrom
izeye:gh-6726

Conversation

@izeye
Copy link
Copy Markdown
Contributor

@izeye izeye commented Jan 1, 2026

This PR changes to handle when ThreadPerTaskExecutor.threadCount() is not available.

Closes gh-6726

@izeye
Copy link
Copy Markdown
Contributor Author

izeye commented Jan 1, 2026

For the build failure, I created #7046 to try to resolve it.

@jonatan-ivanov
Copy link
Copy Markdown
Member

Thank you! Since your fix for the tests is merged, I rebased this on 1.15.x.

@jonatan-ivanov jonatan-ivanov removed this from the 1.15.8 milestone Jan 6, 2026
@jonatan-ivanov jonatan-ivanov merged commit 50ba16b into micrometer-metrics:1.15.x Jan 7, 2026
9 checks passed
@izeye izeye deleted the gh-6726 branch January 7, 2026 14:15
allnightlong pushed a commit to allnightlong/micrometer that referenced this pull request Jan 19, 2026
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.

ExecutorServiceMetrics: repeatedly logs exception when monitoring ThreadPerTaskExecutor without --add-opens

2 participants