sentry使用

开篇-Sentry是什么

Sentry是开源错误跟踪,帮助开发人员实时监控和修复崩溃。不断重复。提高效率。改善用户体验。

这篇文章的作用

记录这篇文章是想分享一下,因为本人在配置时因为邮件服务花费了很多时间;

其实安装以及运行很简单,需要注意邮件请在config.yml里配置,推荐使用mailgun的服务以及587端口,之前mailgun注册完就可以使用,现在还需要配置自己的域名以及绑定信用卡。

在使用mailgun之前都是拿阿里云测试的,后来无意中得知,阿里云并不支持。

另外有其它支持的邮箱可以共享一下,谢谢!

下是一些简介

支持语言

使用方式

付费使用

自己安装

​ 自己安装的话推荐使用 Docker环境 项目地址 https://github.com/getsentry/onpremise

官方文档如下


Assuming you've just cloned this repository, the following steps will get you up and running in no time!

There may need to be modifications to the included docker-compose.yml file to accommodate your needs or your environment. These instructions are a guideline for what you should generally do.

  1. mkdir -p data/{sentry,postgres} - Make our local database and sentry config directories. This directory is bind-mounted with postgres so you don't lose state!
  2. docker-compose build - Build and tag the Docker services
  3. docker-compose run --rm web config generate-secret-key - Generate a secret key. Add it to docker-compose.ymlin base as SENTRY_SECRET_KEY.
  4. docker-compose run --rm web upgrade - Build the database. Use the interactive prompts to create a user account.
  5. docker-compose up -d - Lift all services (detached/background mode).
  6. Access your instance at localhost:9000!

猜你喜欢

转载自www.cnblogs.com/lisq/p/10011328.html