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
Close
Hashes for sentry_elastic_nodestore-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81d344cc151d21baa24b786163a4d0159fd017f5527f6f95fb0bc8ad83ae1278 |
|
MD5 | 75fb7211414a8ce39b4fb421a7f78337 |
|
BLAKE2b-256 | c0e458daff876d28f24dfe193e166c44eb5dc6a3c7bb3658d61c5dd697085877 |