Docker

Docker - Sentry初探

2019-09-24  本文已影响0人  红薯爱帅

1. 概况

Sentry is cross-platform application monitoring, with a focus on error reporting, developed with Django .

Sentry 可以帮助你将 Python 程序的所有 exception 自动记录下来,然后在一个好用的 UI 上呈现和搜索。处理 exception 是每个程序的必要部分,所以 Sentry 也几乎可以说是所有项目的必备组件。

https://github.com/getsentry/sentry

那么,怎么使用sentry,两种方法:

2. 官方服务

2.1. 注册账号

https://sentry.io

image.png

2.2. 创建project

image.png

2.3. trigger error

2.4. notification by emails

image.png

3. 自主搭建服务

可以refer下面几篇文章,回头有时间我也试下

4. 如何使用

基于不同语言和框架,有不同的sentry包,使用方式基本类似

上一篇 下一篇

猜你喜欢

热点阅读