GithubHelp home page GithubHelp logo

billni / sentry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry

0.0 0.0 0.0 257.02 MB

Sentry is cross-platform application monitoring, with a focus on error reporting.

Home Page: https://sentry.io

License: Other

Shell 0.07% JavaScript 8.26% Ruby 0.01% Python 57.43% Lua 0.20% TypeScript 32.64% Makefile 0.02% HTML 0.61% Dockerfile 0.02% EJS 0.01% Less 0.70% PEG.js 0.03%

sentry's Introduction

Sentry

Users and logs provide clues. Sentry provides answers.

What's Sentry?

Sentry is a service that helps you monitor and fix crashes in realtime. The server is in Python, but it contains a full API for sending events from any language, in any application.

Official Sentry SDKs

Resources

Manual

  1. Pull 3 images

docker pull redis docker pull postgres docker pull getsentry/sentry:nightly

  1. Run redis

docker run -d --name sentry-redis redis

  1. Create Postgres Database

docker run --name sentry-postgres --restart always -e POSTGRES_PASSWORD='postgres123' -e ALLOW_IP_RANGE=0.0.0.0/0 -v /data/postgresql:/var/lib/postgresql -p 5432:5432 --privileged -d postgres

  1. Create SENTRY_SECRET_KEY to <secrect_key>

docker run --rm sentry config generate-secret-key

  1. when initial db, must to use "upgrade"

docker run -it --rm --name sentry e SENTRY_SECRET_KEY=‘<secret_key>' --link sentry-postgres:postgres --link sentry-redis:redis -p 9000:9000 getsentry/sentry:nightly upgrade

  1. Run sentry formly

docker run -it -d --name sentry -e SENTRY_SECRET_KEY='<secret_key>' --link sentry-postgres:postgres --link sentry-redis:redis -p 9000:9000 getsentry/sentry:nightly

  1. Configuring the initial user, If you did not create a superuser during upgrade, use the following to create one:

docker run -it --rm -e SENTRY_SECRET_KEY=‘<secret_key>' --link sentry-redis:redis --link sentry-postgres:postgres sentry createuser --superuser

  1. create cron and work The default config needs a celery beat and celery workers, start as many workers as you need (each with a unique name)

docker run -d --name sentry-cron -e SENTRY_SECRET_KEY=‘<secret_key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry run cron

docker run -d --name sentry-worker-1 -e SENTRY_SECRET_KEY=‘<secret_key>' --link sentry-postgres:postgres --link sentry-redis:redis sentry run worker

  1. open browser to http://ip:9000

sentry's People

Contributors

benvinegar avatar billyvg avatar byk avatar ceorourke avatar ckj avatar dashed avatar davidenwang avatar dcramer avatar doralchan avatar edwardgou-sentry avatar evanpurkhiser avatar iprogramstuff avatar jan-auer avatar k-fish avatar lynnagara avatar macqueen avatar markstory avatar matejminar avatar mattrobenolt avatar meredithanya avatar mgaeta avatar mitsuhiko avatar priscilawebdev avatar scttcper avatar shruthilayaj avatar tkaemming avatar untitaker avatar wedamija avatar wmak avatar zylphrex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.