A Sentry extension to add Cassandra as a NodeStore backend.
Project description
sentry-cassandra-nodestorage
A Rebel Core Open Source project.
Sentry extension implementing the NodeStorage interface for Cassandra
Installation
$ pip install sentry-cassandra-nodestore
Configuration
CREATE KEYSPACE sentry WITH replication = {
'class': 'SimpleStrategy',
'replication_factor': '2'
};
USE sentry;
CREATE TABLE nodestore (
key text PRIMARY KEY,
flags int,
value blob
) WITH
compaction={'sstable_size_in_mb': '160', 'class': 'LeveledCompactionStrategy'} AND
compression={'sstable_compression': 'SnappyCompressor'};
SENTRY_NODESTORE = 'sentry-cassandra-nodestore.backend.CassandraNodeStorage'
SENTRY_NODESTORE_OPTIONS = {
'servers': [
'127.0.0.1:9042',
],
# (optional) specify an alternative keyspace
'keyspace': 'sentry',
# (optional) specify an alternative columnfamily
'columnfamily': 'nodestore',
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentry_cassandra_nodestore-1.2.1.tar.gz.
File metadata
- Download URL: sentry_cassandra_nodestore-1.2.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90371b7c3865e70960b68d1178265b2a520390022fef49aaf0ab1283183df279
|
|
| MD5 |
d2f135e801a0f5c82724110fc093670c
|
|
| BLAKE2b-256 |
a1d5cfabefc7d1116cdcf51db621f686d2c4ee9311aa732ede2eae6e57a1f154
|
File details
Details for the file sentry_cassandra_nodestore-1.2.1-py3-none-any.whl.
File metadata
- Download URL: sentry_cassandra_nodestore-1.2.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54fdb3f93676053a8f5e8e9ee22de57c53b870680a221a204dd19140d7a58272
|
|
| MD5 |
b56bbc5f6eb99f26e660794063931706
|
|
| BLAKE2b-256 |
fa67c748616c4eb05ecae2fea1d384128b661e7878b8734bebb419d86f4c72c7
|