Skip to main content

Sentry nodestore Elasticsearch backend

Project description

info:Sentry nodestore Elasticsearch backend
https://img.shields.io/pypi/v/sentry_elastic_nodestore.svg

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
sentry_elastic_nodestore-0.0.7.tar.gz (7.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page