Statistics
The Cassandra CQL resource adaptor updates the default parameter set.
You can monitor the health of your Cassandra CQL resource adaptor entity using the Rhino statistics tools.
For example. to monitor the stats from the command line (<entity-name>
is the name of your resource adaptor entity):
rhino-stats -m SLEE-Usage.RAEntities.<entity-name>.(default)
The statistics collected by the Cassandra CQL resource adaptor are:
Statistic | Type | Description |
---|---|---|
ClusterConnectionDown |
Counter |
Connection to the cluster is down |
ClusterConnected |
Counter |
Connected to the cluster |
ConnectAttempts |
Counter |
An attempt to connect to the cassandra cluster |
FailedToStartActivity |
Counter |
Rhino TAS did not allow us to start an activity |
FailedToSubmitEvent |
Counter |
Rhino TAS did not allow us to submit an event for delivery |
SynchronousQueryAttempts |
Counter |
A synchronous query is made against cassandra |
SuccessfulSynchronousQuery |
Counter |
A synchronous query made against cassandra is successful |
FailedSynchronousQuery |
Counter |
A synchronous query made against cassandra failed |
TimedOutSynchronousQuery |
Counter |
A synchronous query made against cassandra timed out |
FailedToPrepareStatement |
Counter |
A synchronous attempt to prepare a query failed |
ASynchronousQueryAttempts |
Counter |
An asynchronous query is made against cassandra |
SuccessfulASynchronousQuery |
Counter |
An asynchronous query made against cassandra is successful |
FailedASynchronousQuery |
Counter |
An asynchronous query made against cassandra failed |
TimedOutASynchronousQuery |
Counter |
An asynchronous query made against cassandra timed out |
SynchronousQueryDuration |
Sample |
A sample statistic of the duration of a query (ns) against cassandra |
StatementPrepareDuration |
Sample |
A sample statistic of the time taken (ns) to prepare a statement against cassandra |
You can define your own threshhold alarms that are a function of the statistics the Cassandra CQL resource adaptor collects. See Threshold Alarms in the Rhino TAS Admin Guide for more information about defining threshold based alarms.
Alarms
The following alarms may be raised with a source of OpenCloud <entity-name> <version>
(for a resource adaptor entity <entity-name>
, of version <version>
).
Category | Level | Alarm Type | Message |
---|---|---|---|
CassandraCQLRA |
CRITICAL |
CassandraCQLRA.ConnectToCluster |
"Not connected to Cassandra. Attempting to connect each %ds" |
CassandraCQLRA |
CRITICAL |
CassandraCQLRA.ConnectToNode |
"Not connected to Cassandra node: %s" |
CassandraCQLRA |
CRITICAL |
CassandraCQLRA.MissingKeyspace |
"Configured Cassandra keyspace does not exist: %s" |
RA Framework |
WARNING |
active-reconfiguration |
"Updates to %s "${instance}" will not take effect until the RA entity is restarted." |
RA Framework |
CRITICAL |
misconfiguration |
"RA configuration error, operational functionality disabled. Update the RA entity with a valid configuration to resolve." |
RA Framework |
MINOR |
misconfiguration |
"RA configuration update failed. Continuing operational functionality using the last valid configuration." |
RA Framework |
MINOR |
update-ignored |
"Update to %s "${instance}" failed, continuing with its last valid configuration" |