前段時間搭建了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安裝配置文檔