Enabling and disable tracing, and monitoring statistics
MM7 RA management includes:
-
Enabling and disabling tracing — The resource adaptors have several standard tracers, whose trace levels can be modified using the Rhino management tools.
-
Monitoring statistics — Both VASP and RS resource adaptors create several statistic parameter sets that can be monitored using the rhino-stats tool.
Monitoring statistics
The root parameter set is different for VASP and RS resource adaptors:
-
MM7_VASP.entity-name
and has four child parameter sets:http.client
,http.server
,mm7.client
andmm7.server
. -
MM7_RS.entity-name
and has four child parameter sets:http.client
,http.server
,mm7.client
andmm7.server
. -
Parameter sets
http.client
andhttp.server
have transport layer statistics. A dedicated parameter set is created as child ofhttp.client
for each outgoing connection used by RA entity. There is always one parameter sethttp.server
per RA entity. -
The
mm7.client
andmm7.server
parameter sets have MM7 statistics. A dedicated parameter set is created as child ofmm7.client
ormm7.server
per each MM7 message type and one parameter set for messages that can not be recognised.
A list of statistics with descriptions for each parameter set — http.client,
http.server, mm7.client, and mm7.server
— can be displayed with the rhino-stats -l
command:
http.client parameter set
Parameter Set: MM7_RS.rsra.http.client Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].HTTP.ClientStats Description: HTTP MM7 ra client statistics Counter type statistics: Id: Name: Label: Description: 0 connectionsOpened connOp Number of HTTP connections opened 1 connectionsClosed connCl Number of HTTP connections closed 2 connectionsActive connActive Current number of HTTP connections to the server 3 requestsActive reqActive Current number of HTTP requests in progress 4 requestsTimedOut reqTmOut Number of HTTP requests timed out 5 errorsRx errRx Number of I/O or HTTP protocol errors when receiving messages 6 errorsTx errTx Number of I/O errors when sending messages 7 bytesRx bytesRx Number of bytes received 8 bytesTx bytesTx Number of bytes sent 9 connectionsRejected connRej Number of connections rejected 10 requestsQueued reqQ Current number of requests queued waiting for a connection 11 requestsSent reqTx Number of HTTP requests sent 12 responsesReceived resRx Number of HTTP responses received Sample type statistics: Id: Name: Label: Description: 13 responseTime rtt Time taken to receive a response to an HTTP request
http.server parameter set
Parameter Set: MM7_RS.rsra.http.server Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].HTTP.ServerStats Description: HTTP MM7 RA server statistics Counter type statistics: Id: Name: Label: Description: 0 connectionsOpened connOp Number of HTTP connections opened 1 connectionsClosed connCl Number of HTTP connections closed 2 connectionsActive connActive Current number of HTTP connections to the server 3 requestsActive reqActive Current number of HTTP requests in progress 4 requestsTimedOut reqTmOut Number of HTTP requests timed out 5 errorsRx errRx Number of I/O or HTTP protocol errors when receiving messages 6 errorsTx errTx Number of I/O errors when sending messages 7 bytesRx bytesRx Number of bytes received 8 bytesTx bytesTx Number of bytes sent 9 requestsReceived reqRx Number of HTTP requests received 10 responsesSent resTx Number of HTTP responses sent Sample type statistics: Id: Name: Label: Description: 11 responseTime rtt Time taken to generate a response to an HTTP request
mm7.client parameter set
Parameter Set: MM7_RS.rsra.mm7.client Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].MM7.ClientStats Description: MM7 RA client statistics Counter type statistics: Id: Name: Label: Description: 0 decodingFailed decFail Number of failed decoding attempts 1 encodingFailed encFail Number of failed encoding attempts 2 requestsOut reqOut Number of requests sent 3 responsesIn rspIn Number of responses received Sample type statistics: Id: Name: Label: Description: 4 decodingTime decTime Time taken to decode MM7 response 5 encodingTime encTime Time taken to encode MM7 request
mm7.server parameter set
Parameter Set: MM7_RS.rsra.mm7.server Parameter Set Type: ResourceAdaptorID[name=MM7-REL-6-RS,vendor=OpenCloud,version=2.1].MM7.ServerStats Description: MM7 RA server statistics Counter type statistics: Id: Name: Label: Description: 0 decodingFailed decFail Number of failed decoding attempts 1 encodingFailed encFail Number of failed encoding attempts 2 requestsIn reqIn Number of requests received 3 responsesOut rspOut Number of responses sent Sample type statistics: Id: Name: Label: Description: 4 decodingTime decTime Time taken to decode MM7 request 5 encodingTime encTime Time taken to encode MM7 response