Pavel Pereslegin created IGNITE-16698:
-----------------------------------------
Summary: IgniteStripedThreadPoolExecutor displays incorrect
metrics values.
Key: IGNITE-16698
URL: https://issues.apache.org/jira/browse/IGNITE-16698
Project: Ignite
Issue Type: Bug
Reporter: Pavel Pereslegin
Assignee: Pavel Pereslegin
Currently only {{IgniteThreadPoolExecutor}} and {{StripedPool}} have implement
correct thread pool metrics.
{{IgniteStripedThreadPoolExecutor}} displays incorrect metrics values:
{code:java}
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("");
{code}
We should implement the correct metrics for this pool similarly to
{{IgniteThreadPoolExecutor}}, but in an aggregated form.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)