/sentry-s3-nodestore

A Sentry extension to add S3 as a NodeStore backend.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

sentry-s3-nodestorage

Sentry extension implementing the NodeStorage interface for Amazon Simple Storage Service

This fork uses boto3 and has a few issues fixed to store data directly as raw binary, and also allows specifying a custom s3 endpoint to make it compatible with alternative storage systems like Ceph, Minio, Noobaa or BackBlaze.

Installation

$ pip install https://github.com/pavels/sentry-s3-nodestore/releases/download/v1.0.3/sentry-s3-nodestore-1.0.3.tar.gz

Configuration

SENTRY_NODESTORE = 'sentry_s3_nodestore.backend.S3NodeStorage'
SENTRY_NODESTORE_OPTIONS = {
    'bucket_name': 'my-sentry-bucket',
    'region': 'us-west-1', # Necessary for buckets outside US-Standard
    'endpoint': 'https://s3.yourserver.com', # Optionally you can provide your own S3 compatible endpoint
    'aws_access_key_id': 'AKIAIJ....',
    'aws_secret_access_key': 'deadbeefdeadbeef....'
}