You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/databases/opentelemetry/cassandra-opentelemetry.md
+26-37Lines changed: 26 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
id: cassandra-opentelemetry
3
3
title: Cassandra - OpenTelemetry Collector
4
4
sidebar_label: Cassandra - OTel Collector
5
-
description: Learn about the Sumo Logic OpenTelemetry App for Cassandra.
5
+
description: Learn about the Sumo Logic OpenTelemetry app for Cassandra.
6
6
---
7
7
8
8
import useBaseUrl from '@docusaurus/useBaseUrl';
@@ -15,7 +15,7 @@ The [Cassandra](https://cassandra.apache.org/_/cassandra-basics.html) app is a l
15
15
16
16
Cassandra logs are sent to Sumo Logic through OpenTelemetry [filelog receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/filelogreceiver) and cassandra metrics are sent to Sumo Logic using [JMX opentelemetry receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver) with the `target_system` set as [`cassandra`](https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/cassandra.md).
17
17
18
-
The app supports Logs from the open-source version of Cassandra. The App is tested on the 4.0.0 version of Cassandra.
18
+
The app supports logs from the open-source version of Cassandra. The app is tested on the 4.0.0 version of Cassandra.
@@ -40,17 +40,17 @@ Following are the [Fields](/docs/manage/fields/) which will be created as part o
40
40
JMX receiver collects Cassandra metrics from Cassandra server as part of the OpenTelemetry Collector (OTC).
41
41
42
42
1. Follow the instructions in [JMX - OpenTelemetry's prerequisites section](/docs/integrations/app-development/opentelemetry/jmx-opentelemetry/#prerequisites) to download the [JMX Metric Gatherer](https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/README.md). This gatherer is used by the [JMX Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/jmxreceiver#details).
43
-
44
43
2. Set the JMX port as part of `JAVA_OPTS` for Tomcat startup. Usually, it is set in the `/etc/systemd/system/cassandra.service` or `C:\Program Files\apache-tomcat\bin\tomcat.bat` file.
Cassandra has three main logs: system.log, debug.log, and gc.log which hold general logging messages, debugging logging messages, and java garbage collection logs respectively.
52
50
53
-
These logs by default live in `${CASSANDRA_HOME}/logs`, but most Linux distributions relocate logs to `/var/log/cassandra`. Operators can tune this location as well as what levels are logged using the provided logback.xml file. For more details on Cassandra logs, see[ this](https://cassandra.apache.org/doc/latest/troubleshooting/reading_logs.html) link.
51
+
Cassandra has three main logs: `system.log`, `debug.log`, and `gc.log`, which hold general logging messages, debugging logging messages, and java garbage collection logs respectively.
52
+
53
+
These logs by default live in `${CASSANDRA_HOME}/logs`, but most Linux distributions relocate logs to `/var/log/cassandra`. Operators can tune this location as well as what levels are logged using the provided logback.xml file. For more details on Cassandra logs, see [this](https://cassandra.apache.org/doc/latest/troubleshooting/reading_logs.html).
54
54
55
55
import LogsCollectionPrereqisites from '../../../reuse/apps/logs-collection-prereqisites.md';
56
56
@@ -82,7 +82,7 @@ You can add any custom fields which you want to be tagged with the data ingested
The **Cassandra - Cache Stats** dashboard provides insight into the database cache status, schedule, and items.
221
-
222
-
Use this dashboard to:
223
-
224
-
- Monitor Cache performance.
225
-
- Identify Cache usage statistics.
221
+
The **Cassandra - Cache Stats** dashboard provides insight into the database cache status, schedule, and items. Use this dashboard to monitor cache performance and identify cache usage statistics.
The **Cassandra - Resource Usage** dashboard provides details of resource utilization across Cassandra clusters.
264
-
265
-
Use this dashboard to:
266
-
267
-
- Identify resource utilization. This can help you to determine whether resources are over-allocated or under-allocated.
255
+
The **Cassandra - Resource Usage** dashboard provides details of resource utilization across Cassandra clusters. Use this dashboard to identify resource utilization. This can help you to determine whether resources are over-allocated or under-allocated.
The **Cassandra - Requests** dashboard provides insight into the number of request served, number of error request, and their distribution by status and operation. Also you can monitor the read and write latency of the cluster instance using this dashboard.
|`Cassandra - Compaction Task Pending`| This alert is triggered when there are more than 15 Compaction tasks which are pending. | Count `>=` 15 | Count `<` 15 |
299
-
|`Cassandra - High Hints Backlog`| This alert is triggered when the number of in-progress hints exceeds given value (Default 5000) for 5 minutes. | Count `>=` 5000 | Count `<` 5000 |
300
-
|`Cassandra - High Memory Usage`| This alert is triggered when memory used exceeds 85% of committed memory for more than 10 minutes. | Count `>=` 1 | Count `<` 1 |
301
-
|`Cassandra - Node Down Alert`| This alert is triggered when a Cassandra node status changes to DOWN for more than 5 minutes. | Count `>=` 1 | Count `<` 1 |
302
-
|`Cassandra - Operation Error Rate High`| This alert is triggered when the error rate of operations exceeds given value (Default 5%) for 5 minutes. | Count `>` 5 | Count `<=` 5 |
303
-
|`Cassandra - Range Query Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of range query latency exceeds the given value (Default 2 seconds) for 5 minutes. | Count `>=` 2000000 | Count `<` 2000000 |
304
-
|`Cassandra - Read Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of read latency exceeds given value (Default 500ms) for 5 minutes. | Count `>=` 500000 | Count `<` 500000 |
305
-
|`Cassandra - Storage Growth Rate Abnormal`| This alert is triggered when the storage growth rate exceeds given value (Default 25MB/minute) for 5 minutes. | Count `>=` 26214400 | Count `<` 26214400 |
306
-
|`Cassandra - Write Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of write latency exceeds given value (Default 200ms) for 5 minutes. | Count `>=` 200000 | Count `<` 200000 |
287
+
|`Cassandra - Compaction Task Pending`| This alert is triggered when there are more than 15 pending Compaction tasks. | Count > = 15 | Count < 15 |
288
+
|`Cassandra - High Hints Backlog`| This alert is triggered when the number of in-progress hints exceeds the given value for 5 minutes. | Count > = 5000 | Count < 5000 |
289
+
|`Cassandra - High Memory Usage`| This alert is triggered when memory used exceeds 85% of committed memory for more than 10 minutes. | Count > = 1 | Count < 1 |
290
+
|`Cassandra - Node Down Alert`| This alert is triggered when a Cassandra node status changes to DOWN for more than 5 minutes. | Count > = 1 | Count < 1 |
291
+
|`Cassandra - Operation Error Rate High`| This alert is triggered when the error rate of operations exceeds given value (Default 5%) for 5 minutes. | Count > 5 | Count < = 5 |
292
+
|`Cassandra - Range Query Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of range query latency exceeds the given value (Default 2 seconds) for 5 minutes. | Count > = 2000000 | Count < 2000000 |
293
+
|`Cassandra - Read Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of read latency exceeds given value (Default 500ms) for 5 minutes. | Count > = 500000 | Count < 500000 |
294
+
|`Cassandra - Storage Growth Rate Abnormal`| This alert is triggered when the storage growth rate exceeds given value (Default 25MB/minute) for 5 minutes. | Count > = 26214400 | Count < 26214400 |
295
+
|`Cassandra - Write Latency High (99th Percentile)`| This alert is triggered when the 99th percentile of write latency exceeds given value (Default 200ms) for 5 minutes. | Count > = 200000 | Count < 200000 |
0 commit comments