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.0.tar.gz
.
File metadata
- Download URL: sentry-cassandra-nodestore-1.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e2956d0ae55b809f19cf8a36c287138ca188b9dc163f4cddb4418670a29647 |
|
MD5 | ed31c16bc905ebc2aa0ed94c565169ac |
|
BLAKE2b-256 | 1a8741c2f6de36efd811bb98d790dd69cbd109f6f0ee3c341a6b9a78aee55374 |
File details
Details for the file sentry_cassandra_nodestore-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: sentry_cassandra_nodestore-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387af5e93066aaadaa41b00aac1357dba6d2d2b735dc5a207b0ef574961794b0 |
|
MD5 | 5eebc58b1063b5d8bd521530a0c28785 |
|
BLAKE2b-256 | 4ed7a7f77a86cae99da97f1c0ac942ca194ab81f2b3813f765f56ee8b1d2ec68 |