推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
simple2025
0D
V2EX  ›  Python

ubuntu 怎么装 sentry 呀

  •  
  •   simple2025 · Feb 14, 2017 · 2851 views
    This topic created in 3398 days ago, the information mentioned may be changed or developed.

    我用 ansible 装 Stdout.sentry 装 sentry==7.7.4 出现了这个了

    [2017-02-14 03:32:50,763: WARNING/MainProcess] celery@awscn-app-gw-00 ready.
    [2017-02-14 03:32:51,574: WARNING/MainProcess] Substantial drift from devnotify@awscn-app-gw-00 may mean clocks are out of sync.  Current drift is
    28800 seconds.  [orig: 2017-02-14 03:32:51.573788 recv: 2017-02-14 11:32:51.573134]
    
    

    烦死了。。 你们是怎么一键装 sentry 的?

    16 replies    2017-02-16 15:05:58 +08:00
    xiaket
        1
    xiaket  
       Feb 14, 2017
    一个程序员要有读日志理解日志的能力,如果没有,至少要有搜索的能力
    defunct9
        2
    defunct9  
       Feb 14, 2017
    时间不对, ntp 校准一下服务器时间
    simple2025
        3
    simple2025  
    OP
       Feb 14, 2017
    @defunct9 不是时间不对的问题..是时区的问题..2880=8 个小时。。
    defunct9
        4
    defunct9  
       Feb 14, 2017
    时区设错了?怪谁
    shiny
        5
    shiny  
    PRO
       Feb 14, 2017
    我把 Sentry 装进 docker ,按 https://hub.docker.com/_/sentry/ 步骤来,还是挺容易的。
    simple2025
        6
    simple2025  
    OP
       Feb 14, 2017
    @shiny 不会 docker 呀。。
    simple2025
        7
    simple2025  
    OP
       Feb 14, 2017
    @shiny 还有一点,就是公司用的 mysql ,所以只能装 mysql 或者 sqlite 。。所以我不能装 8.X 的 sentry 呀
    shiny
        8
    shiny  
    PRO
       Feb 14, 2017
    @chenqh 为啥一定要 mysql ,直接用 Sentry 的 API 接口是不关心它的数据库的,是做了什么开发吗?
    simple2025
        9
    simple2025  
    OP
       Feb 14, 2017
    @shiny 安装呀。。不关心数据库?
    shiny
        10
    shiny  
    PRO
       Feb 14, 2017
    @chenqh 不用 Docker 的话是要关心用什么数据库;用 Docker 的话都是封装起来的,只暴露一个 Web 端口就行了,管它是什么数据库。
    simple2025
        11
    simple2025  
    OP
       Feb 14, 2017
    @shiny ...没用过 docker 呀。。现在都是用 docker 了吗?
    shiny
        12
    shiny  
    PRO
       Feb 14, 2017
    @chenqh 不是所有场景都适合,但你这种情况还是挺方便的。
    simple2025
        13
    simple2025  
    OP
       Feb 14, 2017
    @shiny 感觉是挺适合的,只自己用,但是要装 docker redis,docker posgresql,docker sentry 。。过几天再试试呗。。
    tonghuashuai
        14
    tonghuashuai  
       Feb 15, 2017
    刚好最近装了 sentry ,貌似没有意见安装的办法,别偷懒,按照官方文档一步一步来,基本都能跑起来
    finalsatan
        15
    finalsatan  
       Feb 15, 2017
    我是通过 docker 来安装的,照着文档来就行了。
    julyclyde
        16
    julyclyde  
       Feb 16, 2017
    @shiny 8 版的从文档到依赖关系都是 pgsql 的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
    ♥ Do have faith in what you're doing.