前端之家收集整理的这篇文章主要介绍了
记一次与新版sentry的斗争,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
引言
- 前段时间搭建了sentry 7.x版本,运行了有一段时间了,现在日志来量有点大
- 遇到了一个突出的问题:清理历史数据十分缓慢。最近在浏览sentry官方文档
- 发现都已经更新到8.14.1了,而且不在支持MysqL,官方给的解释:"Due to
- numerous issues over the years and recent discoveries that
- nearly all schema migration was broken in MysqL (due to some
- behavior in our migration tool),we've made the decision to
- no longer support MysqL. It is possible to bring the schema
- up to date on a MysqL machine,but Sentry's automated migrations
- will likely not work and require DBA assistance.
- Postgres is now the only supported production database."
- 而且现在之前搭建的7.x版本清理数据慢的出奇,顾花了些时间来搭建新的sentry,搭建过程分享一下
Overview
- @H_404_8@需要安装
- @H_404_8@python==2.7.5
- @H_404_8@Postgresql==9.2
- @H_404_8@sentry==8.14.1
- @H_404_8@redis==3.2.8
- @H_404_8@系统
- @H_404_8@本文重点