EditAttachPrintable
r2 - 2013-08-01 - 11:37:58 - JorgeAlbertoDiazYou are here: TWiki >  Deployment Web > SmarterServerDataDictionary > CLMServerMonitoringUserSessionMonitor

uc.png Smarter Server - User Session Monitor

Authors: JorgeAlbertoDiaz
Build basis: Collaborative Lifecycle Management 4.0.4

Wip Section under construction

The User Session monitor gathers information regarding user sessions in CLM monitored appplications. Sessions tracked and monitored include both: the ones created by users' activity; and the ones generated as result of internal applications tasks or as consequence of serving requests. A JMX object of this "type" will be created for each individual session, identified by the internal session ID.

JMX Interface Name: com.ibm.team.server.monitoring.jmx.beans.SessionMBean
JMX Object Name: team.server.<application public URI context>@<port>:type=Session,name="<userName>",id=<sessionID>
JMX Object Name Example: team.server./jts@9443:type=Session,name="bob",id=00C8658131D887F8A845116CAF027374

Every individual operation performed in the context of a monitored user session will be tracked as child MBeans registered with the following naming convention:

  • Session Activity JMX Object Name: team.server.<application public URI context>@<port>:type=Session,name="<userName>",id=<sessionID>,request=Activity,activityid=<ID>

Visually, the Session Monitor objects structure would look like the following:

   team.server./<URL>@<port>:type=Session,name="<userName>",id=<sessionID>
          |
          |
          | ---- team.server./<URL>@<port>:type=Session,name="<userName>",id=<sessionID>,request=Activity,activityid=<activityID>    
          |
          | ---- team.server./<URL>@<port>:type=Session,name="<userName>",id=<sessionID>,request=Activity,activityid=<activity2ID>    
                        ...      

Monitor Attributes

Following are the attributes exposed by the Session Monitor

JMX Attribute JMX Type Is Writeable? Default Value Description
CreationTime java.util.Date No 0 Time when this session was created
Expiry java.util.Date No 0 Time when the session will expire if no new activity is tracked for it. It is calculated based on the last recorded accessed time and the maximum inactivity time allowed
LastAccessedTime java.util.Date No 0 Last time the client sent a request associated with this session
Links TabularType (Open Type) No   Links to associated performance information
URI String No http://jazz.net/ns/smarterserver/team.server//<publicURI>@<port>/Session//<ID&gt; RDF subject URI representation of the JMX Object
Username String No   The ID of the user for the session. "" for application internal activities with no associated user ID

Child MBeans

This section gathers information regarding MBeans that are contained within this monitor

Activity objects

Every individual operation performed in the context of a monitored user session is tracked as Activity JMX objects.

JMX Interface Name: com.ibm.team.server.monitoring.jmx.beans.ActivityMBean
JMX Object Name: team.server.<application public URI context>@<port>:type=Session,name="<userName>",id=<sessionID>,request=Activity,activityid=<ID>
JMX Object Name Example: team.server./jts@9443:type=Session,name="bob",id=06AA593EB36B08481074DAE286411E3D,request=Activity,activityid=0db5a4dc-5fd2-4c4c-8328-2487b35fcbd6

Attributes

JMX Attribute JMX Type Is Writeable? Default Value Description
ActivityName String No   Request context name
Duration long No 0 Duration of the request execution
FinishDate java.util.Date No   Recorded finish time of the request execution
Links TabularType (Open Type) No   Links to associated performance information
ProblemCount long No 0 Number of problems generated executing this request. Problems can be issued if the activity takes more time to complete than the threshold speciified for requests
RDF String No null RDF subject URI representation of the JMX Object.Not implemented
StartDate java.util.Date No   Recorded start time of the request execution
ThreadID long No   The ID of thread of the tracked request
ThreadName String No   The name of thread of the tracked request
ThreadTraceRDF String No "" RDF representation of the execution thread. Not implemented
URI String No "" RDF subject URI representation of the JMX Object

Operations

JMX Operation Signature Return Type Description
dismiss() void When called, all the tracked problems generated as result of this request will be discarded. Note that the problem JMX object will be discarded but problems counters for the activity are kept

External links:

Additional contributors: TWikiUser, TWikiUser

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 | r4 < r3 < r2 < r1 | More topic actions...
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Ideas, requests, problems regarding the Deployment wiki? Create a new task in the RTC Deployment wiki project