A Sentry extension to add Cassandra as a NodeStore backend.
Project description
sentry-cassandra-nodestorage
A Lumanox, LLC 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
File details
Details for the file sentry-cassandra-nodestore-1.1.1.tar.gz
.
File metadata
- Download URL: sentry-cassandra-nodestore-1.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b9004a80b3bffc59e16e8bee7cc2acc92b9b6d7476aa37f31c617b7fc47ef8d |
|
MD5 | f95ba8b7afa7facc9efcdece6209585b |
|
BLAKE2b-256 | 7396f3ac6cfdf52cb7774b5805b9acdfdee854369b8df288cade1b82fe7d4451 |
File details
Details for the file sentry_cassandra_nodestore-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: sentry_cassandra_nodestore-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c277f142f8e3843d44bbc92e67ca63571f57b99599b15eeb529dfb80168a8c4d |
|
MD5 | 91393ec6b7fb90ee4641ef9835d658ee |
|
BLAKE2b-256 | e0f631bbd2005aa1d4dd4641fc8ffe7acd37cdbf7a5b3eef586d1bd3fb479f3e |