Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry-cassandra-nodestore-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file sentry-cassandra-nodestore-1.1.0.tar.gz.

File metadata

File hashes

Hashes for sentry-cassandra-nodestore-1.1.0.tar.gz
Algorithm Hash digest
SHA256 88e2956d0ae55b809f19cf8a36c287138ca188b9dc163f4cddb4418670a29647
MD5 ed31c16bc905ebc2aa0ed94c565169ac
BLAKE2b-256 1a8741c2f6de36efd811bb98d790dd69cbd109f6f0ee3c341a6b9a78aee55374

See more details on using hashes here.

File details

Details for the file sentry_cassandra_nodestore-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_cassandra_nodestore-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 387af5e93066aaadaa41b00aac1357dba6d2d2b735dc5a207b0ef574961794b0
MD5 5eebc58b1063b5d8bd521530a0c28785
BLAKE2b-256 4ed7a7f77a86cae99da97f1c0ac942ca194ab81f2b3813f765f56ee8b1d2ec68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page