Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16698

IgniteStripedThreadPoolExecutor displays incorrect metrics values.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.13
    • None
    • Fixed metrics in IgniteStripedThreadPoolExecutor
    • Release Notes Required

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xtern Pavel Pereslegin
            xtern Pavel Pereslegin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 40m
              40m

              Slack

                Issue deployment