[
https://issues.jboss.org/browse/AS7-4444?page=com.atlassian.jira.plugin.s...
]
John Doyle commented on AS7-4444:
---------------------------------
From Gary Lamperillo on SA-list
For active sessions for a web app, try this:
/deployment==example.war/subsystem=web:read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"active-sessions" => 0,
"context-root" => "/example",
"duplicated-session-ids" => 0,
"expired-sessions" => 1,
"max-active-sessions" => 1,
"rejected-sessions" => 0,
"servlet" => undefined,
"session-avg-alive-time" => 1833,
"session-max-alive-time" => 1833,
"sessions-created" => 1,
"virtual-host" => "default-host"
}
}
Make sure you include "(include-runtime=true)"
include-runtime – (boolean, default is false) – whether to include runtime attributes
(i.e. those whose value does not come from the persistent configuration) in the response.
Ignored if recursive is true, as reading runtime attributes may be expensive.
Web deployment metrics missing
------------------------------
Key: AS7-4444
URL:
https://issues.jboss.org/browse/AS7-4444
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.1.Final
Reporter: Stefan Negrea
Assignee: Remy Maucherat
Labels: rhq
The following web deployment metrics are missing from AS7 when compared to AS5 exposed
metrics:
Clustered - True if this web application context is clustered
Virtual Host - the virtual host with which this context is associated
Response Time - the minimum, maximum, and average response times for requests serviced by
this webapp
Currently Active Sessions - the number of sessions that are currently active for this
WAR
Maximum Active Sessions - the maximum number of sessions that have been active for this
WAR
Created Sessions - the number of sessions created for this WAR
Created Sessions per Minute - the number of sessions created for this WAR
Expired Sessions - the number of expired sessions for this WAR
Expired Sessions per Minute - the number of expired sessions for this WAR
Rejected Sessions - the number of sessions rejected for this WAR
Rejected Sessions per Minute - the number of sessions rejected for this WAR
Average Session Alive Time - the average alive time of sessions for this WAR
Max Session Alive Time - the maximum alive time of sessions for this WAR
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira