sentry使用
2024-09-05 15:06:53
开篇-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.
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!docker-compose build
- Build and tag the Docker servicesdocker-compose run --rm web config generate-secret-key
- Generate a secret key. Add it todocker-compose.yml
inbase
asSENTRY_SECRET_KEY
.docker-compose run --rm web upgrade
- Build the database. Use the interactive prompts to create a user account.docker-compose up -d
- Lift all services (detached/background mode).- Access your instance at
localhost:9000
!
最新文章
- .Net发出图片Request请求
- Android-小tips
- Hibernate -- A unidirectional one-to-one association on a foreign key
- 【BZOJ-4523】路由表 Trie树 + 乱搞
- Bellman_Ford
- LINUX信息安全系统设计基础第二周学习总结
- Tornado源码分析系列之一: 化异步为'同步'的Future和gen.coroutine
- ThinkPad X220i 刷白名单BIOS,改装第三方无线网卡
- HDU4758 Walk Through Squares AC自动机&;&;dp
- poj 2778 DNA Sequence AC自动机
- Java Keyword -- super
- python3 第十六章 - 函数
- 删除表中重复行SQL
- Python爬虫入门教程 24-100 微医挂号网医生数据抓取
- 20170803 Airflow自带的API进行GET 和POST动作部分内容
- 启动服务报错:nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.jaxb.JAXBUtils.closeUnmarshaller(Ljavax/xml/bind/Unmarshaller;)V
- HashMap、LinkedHashMap、ConcurrentHashMap、ArrayList、LinkedList的底层实现
- Linux服务器ftp+httpd部署
- MIT-6.828-JOS-lab2:Memory management
- ie6浏览器的安装