Cassandra Monitoring
This section describes the types, names, and meanings of Cassandra metrics collected by APM.
Parameter | Data Type | Application Type | Default | Supported Start Agent Version | Supported End Agent Version | Description |
---|---|---|---|---|---|---|
Threshold (ms) for Reporting Connection Trace | integer | JAVA | 1 | 2.2.9 | - | Threshold for reporting borrowConnection() method traces. If the threshold is not exceeded, such traces will not be reported. |
Collect Original CQL Statement or Not | radio | JAVA | false | 2.2.9 | - | Whether to collect original CQL statements |
Category | Metric | Name | Description | Unit | Data Type | Default Aggregation Mode |
---|---|---|---|---|---|---|
CQL call (Cql) | cql | cql | Executed CQL Statement | - | ENUM | LAST |
concurrentMax | Max. Concurrency | Maximum concurrency | - | INT | MAX | |
errorCount | Errors | Number of errors | - | INT | SUM | |
errorTraceId | Error Trace ID | ID of the trace that encounters an error in a collection period | - | STRING | LAST | |
invokeCount | Calls | Number of calls | - | INT | SUM | |
lastError | Error Message | Error message | - | STRING | LAST | |
maxTime | maxTime | Maximum response time | - | INT | MAX | |
queryRowCount | Read Rows | Number of read rows | - | INT | SUM | |
runningCount | Ongoing Executions | Number of executions of the method at the time of collection | - | INT | SUM | |
slowTraceId | Slow Trace ID | ID of the slowest trace in a collection period | - | STRING | LAST | |
totalTime | totalTime | Total response time | - | INT | SUM | |
range1 | 0–10 ms | Number of requests with 0–10 ms response time | - | INT | SUM | |
range2 | 10–100 ms | Number of requests with 10–100 ms response time | - | INT | SUM | |
range3 | 100–500 ms | Number of requests with 100–500 ms response time | - | INT | SUM | |
range4 | 500–1000 ms | Number of requests with 500–1000 ms response time | - | INT | SUM | |
range5 | 1–10s | Number of requests with 1–10s response time | - | INT | SUM | |
range6 | > 10s | Number of requests with response time longer than 10s | - | INT | SUM | |
Cassandra node call (node) | node | Node Address | Node address | - | ENUM | LAST |
concurrentMax | Max. Concurrency | Maximum concurrency | - | INT | MAX | |
errorCount | Errors | Number of errors | - | INT | SUM | |
errorTraceId | Error Trace ID | ID of the trace that encounters an error in a collection period | - | STRING | LAST | |
slowTraceId | Slow Trace ID | ID of the slowest trace in a collection period | - | STRING | LAST | |
invokeCount | Calls | Number of calls | - | INT | SUM | |
lastError | Error Message | Error message | - | STRING | LAST | |
maxTime | maxTime | Maximum response time | - | INT | MAX | |
totalTime | totalTime | Total response time | - | INT | SUM | |
range1 | 0–10 ms | Number of requests with 0–10 ms response time | - | INT | SUM | |
range2 | 10–100 ms | Number of requests with 10–100 ms response time | - | INT | SUM | |
range3 | 100–500 ms | Number of requests with 100–500 ms response time | - | INT | SUM | |
range4 | 500–1000 ms | Number of requests with 500–1000 ms response time | - | INT | SUM | |
range5 | 1–10s | Number of requests with 1–10s response time | - | INT | SUM | |
range6 | > 10s | Number of requests with response time longer than 10s | - | INT | SUM | |
Cassandra cluster call (cluster) | nodes | Cluster Node | Cluster node information | - | ENUM | LAST |
concurrentMax | Max. Concurrency | Maximum concurrency | - | INT | MAX | |
errorCount | Errors | Number of errors | - | INT | SUM | |
errorTraceId | Error Trace ID | ID of the trace that encounters an error in a collection period | - | STRING | LAST | |
slowTraceId | Slow Trace ID | ID of the slowest trace in a collection period | - | STRING | LAST | |
invokeCount | Calls | Number of calls | - | INT | SUM | |
lastError | Error Message | Error message | - | STRING | LAST | |
maxTime | maxTime | Maximum response time | - | INT | MAX | |
totalTime | totalTime | Total response time | - | INT | SUM | |
range1 | 0–10 ms | Number of requests with 0–10 ms response time | - | INT | SUM | |
range2 | 10–100 ms | Number of requests with 10–100 ms response time | - | INT | SUM | |
range3 | 100–500 ms | Number of requests with 100–500 ms response time | - | INT | SUM | |
range4 | 500–1000 ms | Number of requests with 500–1000 ms response time | - | INT | SUM | |
range5 | 1–10s | Number of requests with 1–10s response time | - | INT | SUM | |
range6 | > 10s | Number of requests with response time longer than 10s | - | INT | SUM | |
Connection details (connection) | host | Connected Host | Connected host | - | ENUM | LAST |
concurrentMax | Max. Concurrency | Maximum concurrency | - | INT | MAX | |
invokeCount | Calls | Number of calls | - | INT | SUM | |
totalTime | Total Time | Total time | - | INT | SUM | |
errorCount | Errors | Number of errors | - | INT | SUM | |
maxTime | Max. RT | Maximum response time | - | INT | SUM | |
range1 | 0–10 ms | Number of requests with 0–10 ms response time | - | INT | SUM | |
range2 | 10–100 ms | Number of requests with 10–100 ms response time | - | INT | SUM | |
range3 | 100–500 ms | Number of requests with 100–500 ms response time | - | INT | SUM | |
range4 | 500–1000 ms | Number of requests with 500–1000 ms response time | - | INT | SUM | |
range5 | 1–10s | Number of requests with 1–10s response time | - | INT | SUM | |
range6 | > 10s | Number of requests with response time longer than 10s | - | INT | SUM | |
Exception (exception: Cassandra call exception statistics) | exceptionType | Exception Type | Exception type | - | ENUM | LAST |
causeType | Exception Class | Exception class | - | ENUM | LAST | |
count | Count | Number of times the exception has occurred | - | INT | SUM | |
message | Exception Message | Message returned when the exception occurred | - | STRING | LAST | |
stackTrace | stackTrace | Exception stack information | - | CLOB | LAST | |
Cassandra summary (total: summary of Cassandra call statistics) | invokeCount | Calls | Total number of calls | - | INT | SUM |
queryRowCount | Total Read Rows | Total number of read rows | - | INT | SUM | |
errorCount | Total Errors | Total number of errors | - | INT | SUM | |
totalTime | Total RT | Total response time | - | INT | SUM | |
Cassandra version (version) | version | Version | Version | - | STRING | LAST |