opentelemetry-instrumentation-cassandra
OpenTelemetry Cassandra instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry in your application and need visibility into Cassandra or Scylla operations. The package is actively maintained, has low install friction, and carries no known vulnerabilities. The beta version status warrants checking release notes before upgrading in production, but the core OpenTelemetry ecosystem is stable. Install it if observability of your database layer is a priority.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires an active OpenTelemetry SDK and exporter configured in your application to actually export the traces.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,278,132 downloads/mo, #2,677 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-cassandra
from opentelemetry.instrumentation.cassandra import CassandraInstrumentor
CassandraInstrumentor().instrument()- Whether this package auto-instruments existing Cassandra/Scylla driver instances or requires explicit setup per connection.
- What specific span attributes and metrics are captured for Cassandra queries.
- Whether the beta status (0.65b0) indicates API stability or ongoing breaking changes.
What it is and what it does
This package integrates OpenTelemetry tracing into Cassandra and Scylla database drivers, automatically wrapping database operations to emit distributed traces. It sits between your application and the cassandra-driver or scylla-driver libraries, capturing query execution as spans that can be exported to observability backends (Jaeger, Datadog, etc.). The instrumentation is part of the OpenTelemetry Python contrib ecosystem and follows the same patterns as other database instrumentors in that suite.
You install it alongside your existing Cassandra driver, then call the instrumentor to activate automatic span generation. It depends on the core OpenTelemetry packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions) and the wrapt library for wrapping. The package is in beta (version 0.65b0) and requires Python 3.10 or later.
Use it for
- Trace Cassandra query latency and errors across distributed systems to identify database bottlenecks.
- Correlate database operations with application logs and metrics using OpenTelemetry's trace context propagation.
- Monitor Scylla driver performance in production by exporting spans to a tracing backend.
- Debug slow queries by examining span details and timing within your observability platform.
- Build service dependency graphs that include Cassandra as a node in your distributed system.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry in your application and need visibility into Cassandra or Scylla operations.
The package is actively maintained, has low install friction, and carries no known vulnerabilities. The beta version status warrants checking release notes before upgrading in production, but the core OpenTelemetry ecosystem is stable. Install it if observability of your database layer is a priority.
Install
opentelemetry-instrumentation-cassandra on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-07-16, with recent activity. Depends on four stable OpenTelemetry core packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, wrapt).
Requires Python 3.10 or later. Requires an active OpenTelemetry SDK and exporter configured in your application to actually export the traces.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.
Quickstart
pip install opentelemetry-instrumentation-cassandra
from opentelemetry.instrumentation.cassandra import CassandraInstrumentor
CassandraInstrumentor().instrument()
Verify before relying
- Whether this package auto-instruments existing Cassandra/Scylla driver instances or requires explicit setup per connection.
- What specific span attributes and metrics are captured for Cassandra queries.
- Whether the beta status (0.65b0) indicates API stability or ongoing breaking changes.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionswrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,278,132 / month, #2,677 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: opentelemetry_instrumentation_cassandra-0.65b0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cassandra tracing instrumentation”
- opentelemetry-instrumentation-cassandraAdds distributed tracing instrumentation to Cassandra and Scylla…
- acsyllaAcsylla is an async Python client library for Cassandra and ScyllaDB…
- opentelemetry-instrumentation-pymemcacheAdds OpenTelemetry tracing instrumentation to pymemcache client…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also opentelemetry-instrumentation-elasticsearch · opentelemetry-instrumentation-psycopg2 · opentelemetry-instrumentation-kafka-python · opentelemetry-instrumentation-aiokafka · scylla-driver · opentelemetry-instrumentation-confluent-kafka · opentelemetry-instrumentation-sqlalchemy · opentelemetry-instrumentation-psycopg · cassandra-driver · acsylla