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
Close
Hashes for sentry-cassandra-nodestore-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cddd10c0eb778d61d0e07faf1ca593cc5f5f2d82c21be1ae181b5f866ab6a19c |
|
MD5 | 57dde231c4f453ad239f1b0aa6eeeae1 |
|
BLAKE2b-256 | b96c79667d011d689f5651958a7b04af64a23bf313f8593820079c87b7f25b88 |
Close
Hashes for sentry_cassandra_nodestore-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a2ed1e3044471274003dfcb4b71df784e2947e4215baf51f63dc3c63047de3 |
|
MD5 | 6538011b2509075df836f2147921cc23 |
|
BLAKE2b-256 | 580a02f0df0cd060b31d9370bfae2bb719a188b328fa326e00161ab27a1267bd |