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.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for sentry-cassandra-nodestore-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8b9004a80b3bffc59e16e8bee7cc2acc92b9b6d7476aa37f31c617b7fc47ef8d
MD5 f95ba8b7afa7facc9efcdece6209585b
BLAKE2b-256 7396f3ac6cfdf52cb7774b5805b9acdfdee854369b8df288cade1b82fe7d4451

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sentry_cassandra_nodestore-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c277f142f8e3843d44bbc92e67ca63571f57b99599b15eeb529dfb80168a8c4d
MD5 91393ec6b7fb90ee4641ef9835d658ee
BLAKE2b-256 e0f631bbd2005aa1d4dd4641fc8ffe7acd37cdbf7a5b3eef586d1bd3fb479f3e

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