You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "songxiaosheng (via GitHub)" <gi...@apache.org> on 2023/02/06 07:50:15 UTC

[GitHub] [dubbo] songxiaosheng commented on pull request #11461: add thread pool metric

songxiaosheng commented on PR #11461:
URL: https://github.com/apache/dubbo/pull/11461#issuecomment-1418649034

   @Webster-Yang 
   please fix unit test failed
   
   org.apache.dubbo.metrics.filter.MetricsFilterTest
   2023-02-06T06:43:55.2838363Z [ERROR] org.apache.dubbo.metrics.filter.MetricsFilterTest.testUnknownFailedRequests  Time elapsed: 0.776 s  <<< ERROR!
   2023-02-06T06:43:55.2841869Z java.lang.IllegalStateException: Duplicate key dubbo.thread.pool.core.size (attempted merging values MetricSample{name='dubbo.thread.pool.core.size', description='Thread Pool Core Size', baseUnit='null', type=GAUGE, category=THREAD_POOL, tags={hostname=fv-az419-804, ip=10.1.0.23, pid=13268, application.name=MockMetrics, thread.pool.name=PoolRouterExecutor}} and MetricSample{name='dubbo.thread.pool.core.size', description='Thread Pool Core Size', baseUnit='null', type=GAUGE, category=THREAD_POOL, tags={hostname=fv-az419-804, ip=10.1.0.23, pid=13268, application.name=MockMetrics, thread.pool.name=SharedExecutor}})
   2023-02-06T06:43:55.2843624Z 	at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:135)
   2023-02-06T06:43:55.2844921Z 	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182)
   2023-02-06T06:43:55.2845647Z 	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
   2023-02-06T06:43:55.2846442Z 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
   2023-02-06T06:43:55.2847321Z 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
   2023-02-06T06:43:55.2848168Z 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org