Closed HzjNeverStop closed 3 months ago
The recent updates introduce a ThreadPoolEndpointAutoConfiguration
for monitoring thread pools within the application, ensuring the ThreadPoolEndpoint
is properly configured and available. This addition enhances the observability of thread pool metrics, facilitating better management and troubleshooting. The changes span across auto-configuration, testing, and integration testing files, alongside a minor update to constants for default endpoint exposure.
Files | Summary |
---|---|
.../autoconfigure/threadpool/ThreadPoolEndpointAutoConfiguration.java .../META-INF/spring/.../AutoConfiguration.imports .../constant/SofaBootConstants.java |
Introduced ThreadPoolEndpointAutoConfiguration and added it to auto-configuration imports and constants. |
.../autoconfigure/threadpool/ThreadPoolEndpointAutoConfigurationTests.java .../actuator/threadpool/ThreadPoolEndpointTests.java .../smoke/tests/actuator/threadpool/ThreadPoolEndpointWebTests.java |
Added tests for ThreadPoolEndpointAutoConfiguration and ThreadPoolEndpoint , including integration tests for web exposure. |
.../actuator/threadpool/ThreadPoolEndpoint.java |
Added a new ThreadPoolEndpoint class for exposing thread pool details. |
🐇✨
In the land of code and thread,
A new path we now tread.
Monitoring pools, so wide and deep,
Ensuring performance, we can keep.
With endpoints and configs, all in line,
Our apps run smoothly, by design.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.06%. Comparing base (
45cd609
) to head (a35e3ec
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
ThreadPoolEndpoint
for viewing thread pool configurations and statuses.ThreadPoolEndpoint
.ThreadPoolEndpoint
in the list of auto-configured endpoints for improved clarity.