https://github.com/hellysmile/sentry_elastic_nodestore
Sentry nodestore Elasticsearch backend
https://github.com/hellysmile/sentry_elastic_nodestore
backend elasticsearch nodestore sentry
Last synced: 11 months ago
JSON representation
Sentry nodestore Elasticsearch backend
- Host: GitHub
- URL: https://github.com/hellysmile/sentry_elastic_nodestore
- Owner: hellysmile
- License: apache-2.0
- Created: 2017-04-23T11:31:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T09:49:39.000Z (about 9 years ago)
- Last Synced: 2025-05-13T10:06:58.599Z (about 1 year ago)
- Topics: backend, elasticsearch, nodestore, sentry
- Language: Python
- Homepage: https://pypi.python.org/pypi/sentry_elastic_nodestore
- Size: 12.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
sentry_elastic_nodestore
========================
:info: Sentry nodestore Elasticsearch backend
.. image:: https://img.shields.io/pypi/v/sentry_elastic_nodestore.svg
:target: https://pypi.python.org/pypi/sentry_elastic_nodestore
Installation
------------
.. code-block:: shell
pip install sentry_elastic_nodestore
Configuration
-------------
Set ``SENTRY_NODESTORE`` at Your ``sentry.conf.py``
.. code-block:: python
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
.. code-block:: shell
sentry --config sentry.conf.py django elastic_template