Heiko Braun created WFLY-3780:
---------------------------------
Summary: DS stats return wrong value types
Key: WFLY-3780
URL:
https://issues.jboss.org/browse/WFLY-3780
Project: WildFly
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Heiko Braun
Assignee: Brian Stansberry
the datasource stats declare model type INT, but return a String instead:
[standalone@localhost:9999 /]
/subsystem=datasources/data-source=ExampleDS/statistics=pool:read-resource(include-runtime=true)
{
"outcome" => "success",
"result" =>
{ "ActiveCount" => "1", "AvailableCount" =>
"20", "AverageBlockingTime" => "0",
"AverageCreationTime" => "1", "CreatedCount" =>
"1", "DestroyedCount" => "0", "InUseCount"
=> "0", "MaxCreationTime" => "1",
"MaxUsedCount" => "1", "MaxWaitCount" =>
"0", "MaxWaitTime" => "0", "TimedOut" =>
"0", "TotalBlockingTime" => "0",
"TotalCreationTime" => "1", "statistics-enabled" =>
true }
}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)