[jboss-jira] [JBoss JIRA] (WFLY-8150) The undertow attributes: "processing-time" and "max-processing-time" do not have "unit" defined

Stuart Douglas (JIRA) issues at jboss.org
Thu Feb 16 21:15:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas moved JBEAP-8902 to WFLY-8150:
---------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-8150  (was: JBEAP-8902)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Web (Undertow)
                           (was: Web (Undertow))
    Affects Version/s:     (was: 7.0.4.GA)


> The undertow attributes: "processing-time" and "max-processing-time" do not have "unit" defined
> -----------------------------------------------------------------------------------------------
>
>                 Key: WFLY-8150
>                 URL: https://issues.jboss.org/browse/WFLY-8150
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list