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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for sentry-cassandra-nodestore-1.1.2.tar.gz
Algorithm Hash digest
SHA256 8b03cc0cc65118323ab87f901df7210e4ee49e303b032079e74a714285d6be24
MD5 0f34fb154745d931f3f9eddf7030bf5b
BLAKE2b-256 88c5f075b0d670eaf65369d8641ad4f13b4cc071adb770ab01d4343e037a7c94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sentry_cassandra_nodestore-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c810c744c047e56f5fb72872550957e454737138e28d5af98d2d6b8d3a87121d
MD5 5cef9fe8e6c3a04aabeb39534ad3705a
BLAKE2b-256 def209b821fb8da2cfd5271f6270235ff04d62e1534f76758412ff02486d462d

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