You can use the thread pool monitoring feature to view metrics of the thread pool of an application that is monitored by Application Real-Time Monitoring Service (ARMS). The provided metrics include the number of core threads, number of existing threads, maximum number of threads allowed, number of active threads, number of submitted tasks, and maximum number of tasks allowed in the task queue.
Prerequisites
Enable thread pool monitoring
View metrics for thread pool monitoring
After you enable the thread pool monitoring feature, you can view the metrics on the Application Details page. On the Pool monitoring tab, you can view different time series curves that show the following metrics of the thread pool of your application: the number of core threads, number of existing threads, maximum number of threads allowed, number of active threads, number of submitted tasks, and maximum number of tasks allowed in the task queue.
tab of the
Metric | Description |
---|---|
Core Size | The number of core threads in the thread pool. |
Current Size | The number of existing threads in the thread pool. |
Max Size | The maximum number of threads allowed in the thread pool. |
Active Count | The number of active threads that are processing tasks. |
Executed Task Count | The number of tasks that are submitted to the thread pool. |
Queue Size | The maximum number of tasks allowed in the task queue. |
- Move the pointer over a chart and view the detailed statistics.
- Click the name of a metric such as Core Size on a chart to show or hide the metric.
Note Each chart must contain at least one visible metric. Therefore, if only one metric is displayed in a chart, you cannot hide this metric.