You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Luchnikov Alexander (Jira)" <ji...@apache.org> on 2022/05/13 10:44:00 UTC
[jira] [Updated] (IGNITE-16698) IgniteStripedThreadPoolExecutor displays incorrect metrics values.
[ https://issues.apache.org/jira/browse/IGNITE-16698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luchnikov Alexander updated IGNITE-16698:
-----------------------------------------
Labels: ise.lts (was: )
> 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
> Priority: Minor
> Labels: ise.lts
> Fix For: 2.13
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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.7#820007)