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

Expose ThreadPoolTaskExecutor queue size and capacity for metrics #28583

Closed
wants to merge 1 commit into from

Commits on Jun 8, 2022

  1. Expose ThreadPoolTaskExecutor metrics to JMX

    We're using grafana to monitor our app through java jmx exporter. We planned to configure some alerts based on those metrics, and we think it could be interesting to have at least the currentQueueCapacity for this purpose  since the queue size directly affects the app memory load.
    (Having the queueCapacity seems also interesting to set up triggers whose trigger value are calculated based on the maximum capacity of the queue.)
    rguihard committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    10ad899 View commit details
    Browse the repository at this point in the history