Skip to main content

A Sentry extension to add Cassandra as a NodeStore backend.

Project description

sentry-cassandra-nodestorage

A Rebel Core 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.2.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentry_cassandra_nodestore-1.2.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file sentry_cassandra_nodestore-1.2.1.tar.gz.

File metadata

File hashes

Hashes for sentry_cassandra_nodestore-1.2.1.tar.gz
Algorithm Hash digest
SHA256 90371b7c3865e70960b68d1178265b2a520390022fef49aaf0ab1283183df279
MD5 d2f135e801a0f5c82724110fc093670c
BLAKE2b-256 a1d5cfabefc7d1116cdcf51db621f686d2c4ee9311aa732ede2eae6e57a1f154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sentry_cassandra_nodestore-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54fdb3f93676053a8f5e8e9ee22de57c53b870680a221a204dd19140d7a58272
MD5 b56bbc5f6eb99f26e660794063931706
BLAKE2b-256 fa67c748616c4eb05ecae2fea1d384128b661e7878b8734bebb419d86f4c72c7

See more details on using hashes here.

Supported by

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