Details
Description
Currently only IgniteThreadPoolExecutor and StripedPool have implement correct thread pool metrics.
IgniteStripedThreadPoolExecutor displays incorrect metrics values:
mreg.longMetric("ActiveCount", ACTIVE_COUNT_DESC).value(0); mreg.longMetric("CompletedTaskCount", COMPLETED_TASK_DESC).value(0); mreg.longMetric("CorePoolSize", CORE_SIZE_DESC).value(0); mreg.longMetric("LargestPoolSize", LARGEST_SIZE_DESC).value(0); mreg.longMetric("MaximumPoolSize", MAX_SIZE_DESC).value(0); mreg.longMetric("PoolSize", POOL_SIZE_DESC).value(0); mreg.longMetric("TaskCount", TASK_COUNT_DESC); mreg.longMetric("QueueSize", QUEUE_SIZE_DESC).value(0); mreg.longMetric("KeepAliveTime", KEEP_ALIVE_TIME_DESC).value(0); ... mreg.longMetric("Terminating", IS_TERMINATING_DESC); mreg.objectMetric("RejectedExecutionHandlerClass", String.class, REJ_HND_DESC).value(""); mreg.objectMetric("ThreadFactoryClass", String.class, THRD_FACTORY_DESC).value("");
We should implement the correct metrics for this pool similarly to IgniteThreadPoolExecutor, but in an aggregated form.
Attachments
Issue Links
- is required by
-
IGNITE-16648 Add histogram metrics for thread pools tasks
- Resolved
- links to