记一次与新版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

  • 需要安装

    • python==2.7.5

    • Postgresql==9.2

    • sentry==8.14.1

    • redis==3.2.8

  • 系统

    • centos6

  • 本文重点

    • Postgresql安装配置

    • sentry安装配置

原文链接

    原文作者:yunsonbai
    原文地址: https://segmentfault.com/a/1190000008828758
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞