推荐学习书目
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
tf2
V2EX  ›  Python

吐槽一下 sentry 这个坑 B

  •  
  •   tf2 · Apr 13, 2018 · 7883 views
    This topic created in 2951 days ago, the information mentioned may be changed or developed.
    • 基于 docker 的安装,仍然需要手动敲一大堆部署命令
    • 仍然是基于 python2 的
    • 自己内部错误都会提示 This event was reported with an old version of the python SDK.
    • 基于 py2 导致了必须还基于 django 1.6
    • django 1.7 才支持 SSL 方式的 SMTP。django 1.6 只支持 TLS 的
    • smtp.exmail.qq.com:465 只支持 SSL 的
    • 报错提示 timeout。没什么帮助。
    • docker 起一大堆没用的 container 而不是单一 container 完成任务
    • 太重了

    所以,有什么良好的替代品推荐么?

    15 replies    2019-03-22 11:24:52 +08:00
    510908220
        1
    510908220  
       Apr 13, 2018
    自己手动部署一个把. 这货起一堆容器确实太多.
    rrfeng
        2
    rrfeng  
       Apr 13, 2018
    没用 docker
    自己搭一个 pg,剩下的不就是 sentry start xxx 了吗……

    某些地方难用确实是难用
    PressOne
        3
    PressOne  
       Apr 13, 2018   ❤️ 1
    古人云:多一层 docker,多一类坑
    WildCat
        4
    WildCat  
       Apr 13, 2018
    1. 如果做得很好用,谁还用官方的付费服务?商业的本质不是慈善而是在给你创造价值的同时一定要赚钱
    2. 如果服务器足够多资源可以起个 Rancher 部署 sentry,很轻松。
    keysona
        5
    keysona  
       Apr 13, 2018
    用 docker-compose 部署。

    https://github.com/getsentry/onpremise

    很舒服。也就几个命令而已....
    julyclyde
        6
    julyclyde  
       Apr 13, 2018
    那个作者似乎对 django 很有意见。在 sentry 里,django 自己的内容被 sentry 作者一一替换掉,已经不剩多少了
    killpanda
        7
    killpanda  
       Apr 13, 2018 via iPhone
    flask 作者在 sentry 公司吧…不知道记错了没有
    killpanda
        8
    killpanda  
       Apr 13, 2018 via iPhone
    好像记错了…
    virusdefender
        9
    virusdefender  
       Apr 13, 2018
    qq 邮箱 smtp 应该也可以用 port 25 tls true ssl false 的
    neoblackcap
        10
    neoblackcap  
       Apr 13, 2018
    @killpanda 没记错,就是 flask 的作者在里面,不是说用 rust 替代了蛮多对性能要求高的地方吗?
    lonhongg
        11
    lonhongg  
       Apr 14, 2018
    要不写一个 fundebug ? (手动滑稽
    tf2
        12
    tf2  
    OP
       Apr 16, 2018
    @virusdefender 感谢。后来发现了。


    @neoblackcap 然而 sentry 是 django 写的。。。
    tf2
        13
    tf2  
    OP
       Apr 16, 2018
    https://sentry.io/admin/

    贴个花絮。。。
    nttdocomo
        14
    nttdocomo  
       Feb 4, 2019
    其实 @julyclyde 说了 sentry 自己已经开始替换一些 django 的内置功能了。也有人在 issue 里吐槽 sentry 为什么还不支持 django1.8,创始人也回答了,感兴趣的可以看看这个 ISSUEhttps://github.com/getsentry/sentry/issues/2429。
    @lambdaq 基于 py2 并不只是能用 django1.6。django 对 py2 的支持是到 1.11 的。 @keysona 说的用 docker-compose 搭起来能解决你很多问题。
    基本上错误监控能开源的我目前知道的也只有 sentry 了。功能绝对是完虐 fundebug。但 fundebug 对国内的业务场景有定制,这个比 sentry 要接地气。
    fundebug
        15
    fundebug  
       Mar 22, 2019
    @nttdocomo 功能完虐 fundebug 这个说的有点夸张了哈。Fundebug 录屏功能他们可是没有的,其他基本功能其实没啥太大差距,不过产品看个人喜好咯。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3366 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 70ms · UTC 13:03 · PVG 21:03 · LAX 06:03 · JFK 09:03
    ♥ Do have faith in what you're doing.