Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-266

Expose metrics for taskPool and taskQueue in XnioWorker

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Minor
    • None
    • 3.3.2.Final
    • api
    • None

    Description

      We are using Undertow and hence XnioWorker embedded in our executable war projects.

      We are also using Dropwizard Metrics (http://metrics.dropwizard.io).

      Our goal is to expose key metrics from Undertow to our monitoring platform. Specifically we want to track the thread usage level (active threads / total threads) and the worker queue length.

      This is not currently possible because on XnioWorker the taskPool fiels is private and has no accessors and getWorkerQueueSize() method is protected (and it's not clear how one could provide a sub-class of this method).

      If this is something of interest, it is possibly something I could make a PR for.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jugglingcats_jira Alfie Kirkpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: