前段时间搭建了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, 搭建过程分享一下
须要安装python
python==2.7.5mysql
Postgresql==9.2redis
sentry==8.14.1sql
redis==3.2.8centos
系统ui
centos6日志
本文重点code
Postgresql安装配置ci
sentry安装配置文档