Sentry nodestore Elasticsearch backend
Project description
- info:
Sentry nodestore Elasticsearch backend
Installation
pip install sentry_elastic_nodestore
Configuration
Set SENTRY_NODESTORE at Your sentry.conf.py
from elasticsearch import Elasticsearch
es = Elasticsearch(['127.0.0.1:9200'])
SENTRY_NODESTORE = 'sentry_elastic_nodestore.ElasticNodeStorage'
SENTRY_NODESTORE_OPTIONS = {
'es': es,
'refresh': False, # https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html
}
from sentry.conf.server import * # default for sentry.conf.py
INSTALLED_APPS = list(INSTALLED_APPS)
INSTALLED_APPS.append('sentry_elastic_nodestore')
INSTALLED_APPS = tuple(INSTALLED_APPS)
Usage
Setup elasticsearch template
sentry --config sentry.conf.py django elastic_template
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
File details
Details for the file sentry_elastic_nodestore-0.0.6.tar.gz
.
File metadata
- Download URL: sentry_elastic_nodestore-0.0.6.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779c0220c9fdc96a85d2af3cabea1b5f0b8ff148aaafab94b1fa8670b1786e19 |
|
MD5 | cd067b0cec6e0b443659196caadcea2b |
|
BLAKE2b-256 | c7ffa1911f83c169653944d95171575d6b68efd88b010bff5692ad9bb3298d76 |