[ 
https://issues.apache.org/jira/browse/IGNITE-16698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508232#comment-17508232
 ] 

Ignite TC Bot commented on IGNITE-16698:
----------------------------------------

{panel:title=Branch: [pull/9893/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9893/head] Base: [master] : New Tests 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6468598]]
* {color:#013220}IgniteBasicTestSuite: 
ThreadPoolMetricsTest.testThreadPoolMetricsRegistry - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6468702&buildTypeId=IgniteTests24Java8_RunAll]

> 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
>             Fix For: 2.13
>
>          Time Spent: 20m
>  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.1#820001)

Reply via email to