# Cassandra

### Supported Platforms

| Platform | Metrics | Logs | Traces |
| -------- | ------- | ---- | ------ |
| Linux    | ✓       | ✓    |        |
| Windows  | ✓       | ✓    |        |
| macOS    | ✓       | ✓    |        |

### Prerequisites

This source supports Apache Cassandra versions 3.11 and 4.0.

### Configuration Table

<table><thead><tr><th>Parameter</th><th width="184.47265625">Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>telemetry_types</td><td><code>telemetrySelector</code></td><td><code>["Logs", "Metrics"]</code></td><td>Choose Telemetry Type.</td></tr><tr><td>address</td><td>string</td><td>localhost</td><td>IP address or hostname to scrape for Cassandra metrics.</td></tr><tr><td>port</td><td>int</td><td>7199</td><td>Port to scrape for Cassandra metrics.</td></tr><tr><td>jar_path</td><td>string</td><td>"/opt/opentelemetry-java-contrib-jmx-metrics.jar"</td><td>Full path to the JMX metrics jar.</td></tr><tr><td>collection_interval</td><td>int</td><td>60</td><td>How often (seconds) to scrape for metrics.</td></tr><tr><td>enable_system_logs</td><td>bool</td><td>true</td><td>Enables collecting system logs.</td></tr><tr><td>system_log_path</td><td>strings</td><td>["/var/log/cassandra/system.log"]</td><td>File paths to system logs.</td></tr><tr><td>enable_debug_logs</td><td>bool</td><td>true</td><td>Enables the collection of debug logs.</td></tr><tr><td>debug_log_path</td><td>strings</td><td>["/var/log/cassandra/debug.log"]</td><td>File paths to debug logs.</td></tr><tr><td>enable_gc_logs</td><td>bool</td><td>true</td><td>Enables collection of garbage collector logs.</td></tr><tr><td>gc_log_path</td><td>strings</td><td>["/var/log/cassandra/gc.log"]</td><td>File paths to garbage collection logs.</td></tr><tr><td>timezone</td><td>timezone</td><td>UTC</td><td>The timezone to use when parsing timestamps.</td></tr><tr><td>start_at</td><td>enum</td><td>end</td><td>Start reading logs from 'beginning' or 'end'.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/integrations/sources/cassandra.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
