编号 | 作者 | 发表时间 | 变更时间 | 版本 | 状态 |
---|---|---|---|---|---|
23040412 | 北野 | 2023-04-04 | 2023-04-04 | v1.0 | 提议 |
Sentry Sentry is a developer-first error tracking and performance monitoring platform that helps developers see what actually matters, solve quicker, and learn continuously about their applications.
- 通过配置文件开启Sentry功能
- config.yaml中添加
Sentry
功能来启用Sentry功能
- 参考实现(PR):
add Sentry feature support #258
-
为什么要引入Sentry?
添加一种对paopao-ce的错误追踪与性能检测机制。 -
如何开启这个功能?
- 在配置文件config.yaml中的
Features
中添加Sentry
功能项开启该功能:... # features中加上 Sentry Features: Default: ["Meili", "LoggerMeili", "Base", "Sqlite3", "BigCacheIndex", "MinIO", "Sentry"] Base: ["Redis", "PhoneBind"] Sentry: Sentry: # Sentry配置 Dsn: "http://4ea0af5cd88d4512b7e52070506c80ec@localhost:9000/2" Debug: True AttachStacktrace: True TracesSampleRate: 1.0 AttachLogrus: True # logrus是否附加到Sentry AttachGin: True # gin是否附加到Sentry ...
- 初始文档