Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4724

metrics attributes of undertow listener are not updated in general undertow configuration at profile level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR2
    • 7.0.0.GA
    • Management, Undertow
    • None
    • Hide
      1. start server in domain
      2. enable statistics for undertow (/profile=full/subsystem=undertow:write-attribute(name=statistics-enabled, value=true)) and reload the server
      3. do several requests to server-one => http://localhost:8080/
      4. check values of request count in server-one undertow subsystem part and in general one => check /host=master/server=server-one/subsystem=undertow/server=default-server/http-listener=default:read-attribute(name=request-count) and /profile=full/subsystem=undertow/server=default-server/http-listener=default:read-attribute(name=request-count)

      You shall see that in server-one part the request count is greater than 0, still in the general part it remains zero.

      Show
      start server in domain enable statistics for undertow ( /profile=full/subsystem=undertow:write-attribute(name=statistics-enabled, value=true) ) and reload the server do several requests to server-one => http://localhost:8080/ check values of request count in server-one undertow subsystem part and in general one => check /host=master/server=server-one/subsystem=undertow/server=default-server/http-listener=default:read-attribute(name=request-count) and /profile=full/subsystem=undertow/server=default-server/http-listener=default:read-attribute(name=request-count) You shall see that in server-one part the request count is greater than 0, still in the general part it remains zero.

      When I enable statistics in domain /profile=full/subsystem=undertow:write-attribute(name=statistics-enabled, value=true), the statistics are only counted for individual servers (=> only in /host=master/server=server-one/subsystem=undertow).

      I believe that in the general part in /profile=full/subsystem=undertow/ the metrics values should be also updated containing sum of the values from individual servers using the same profile but they remain always unchanged or they should be completely removed.

      EDIT Added note that they should either contain sum or the metrics attributes should be completely removed from profiles configuration part.

            chaowan@redhat.com Chao Wang
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Jan Stourac Jan Stourac
            Jan Stourac Jan Stourac
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified