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

The undertow attributes: "processing-time" and "max-processing-time" do not have "unit" defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR13
    • 7.0.4.GA
    • Undertow
    • None

      The undertow attributes: "processing-time" and "max-processing-time" do not have "unit" defined. For instance, if you execute:
      /subsystem=undertow/server=default-server/http-listener=default:read-resource-description
      this will return:
      ...
      "max-processing-time" =>

      { "type" => LONG, "description" => "The maximum processing time taken by a request on this listener", "expressions-allowed" => false, "nillable" => false, "access-type" => "metric", "storage" => "runtime" }

      ,
      "no-request-timeout" =>

      { "type" => INT, "description" => "The length of time in milliseconds that the connection can be idle before it is closed by the container, defaults to 60000 (one minute)", "expressions-allowed" => true, "nillable" => true, "default" => 60000, "unit" => "MILLISECONDS", "access-type" => "read-write", "storage" => "configuration", "restart-required" => "no-services" }

      ,
      "processing-time" => {
      "type" => LONG,
      "description" => "The total processing time of all requests handed by this listener",
      "expressions-allowed" => false,
      "nillable" => false,
      "access-type" => "metric",
      "storage" => "runtime"
      ...
      According to the code:
      https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/ConnectorStatisticsImpl.java#L63
      attributes "processing-time" and "max-processing-time" should be shown as nano seconds.
      I have just realised that only few attributes have "unit" defined - like "no-request-timeout" while the most of them is without it.

            sdouglas1@redhat.com Stuart Douglas
            rhn-support-bkramer1 Biljana Kramer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: