Platform--sentry for real-time event logging and aggregation

Source: Internet
Author: User
Tags webp

No matter what programming language you use, you will face the problem of how to handle the error log. Many programmers leave the error log, until the failure of the regret, if asked small, I will recommend Sentry!

650) this.width=650; "Src=" http://mmbiz.qpic.cn/mmbiz_jpg/ Vgsq2bll9klzp6bkdkd4z6zskbk6kvurhczibyq8iczh9ib5kf8mmbpi4ymckaovsfbmnrjo9unswitlvaxmkibj2q/640?wx_fmt=jpeg &tp=webp&wxfrom=5&wx_lazy=1 "style=" Margin:0px;padding:0px;height:auto;width:auto; "alt=" 640?wx_fmt= Jpeg&tp=webp&wxfrom=5&wx_lazy "/>

What is Sentry?

    No matter how well the test program, bug always inevitably exist, some bugs do not appear every time, the test run good code may be in the use of a user to break the dish, but when the program in front of the user crashes, you can not see the error, of course, you will say: "Hey, I have to remember the log?" The

But to tell the truth, the program every day in the production of a large number of logs , and distributed on the various servers, and if you have more than one service in the maintenance, the number of logs you can not see it. Wait until one day a user really can not stand, call to roar, you go to find the log you will find the log is actually useless: lack of context, do not know what operation caused the exception, too many exceptions (never look at the log) do not know how to start and so on.

   sentry is to help us solve this problem, It is an exquisite django app is designed to help developers discover active exception , and then find the potential" Bugs. "

   sentry is a log platform , which is divided into client and server side, client (currently the client has Python, Php,c#, Ruby, and more) are embedded in your application, and the program sends a message to the server, server The logs messages to the database and provides a Web program for easy viewing. Sentry written by Python, open source, excellent performance, easy to expand, the current well-known users have Disqus, Path, Mozilla, Pinterest and so on.

Why Use Sentry?

Multi-project, multi-user

Friendly interface

You can configure exception departure rules, such as sending messages

Support for mainstream language interfaces

 sentry Permissions introduction

   sentry currently has four types of users: Super Administrator , admin , ordinary users and and permissions . To better support team assistance and information security,

The so-called team is a group that some users organize together to have permission to operate on certain projects. A project can belong to only one team, one user can belong to more than one team, and can play different roles in different team, such as User A is the administrator in Team X and the system agents in Team Y. Sentry the user role is specified only to the team level and not to the project level, so after a user is joined to a team, the user has the same permissions for all project under that team.

   sentry so design, though not meticulous, However, we use the actual world as long as the situation to divide team and


Super Admin : Can create various users, team and project can only be created by Super Administrator. Some of the settings for the project, such as changing owner, whether the data is publicly visible or not (the data set to public can be viewed via URL not logged in), and the client domain restriction settings. There are also API keys to manage the project (clients only have access to this API key to send messages to sentry), and so on.

Administrator : Ability to create users, team and project settings in addition to changing the permissions of owner, you can do resolve, bookmark, public/public and remove for specific data in the project.

Normal User : No team interface, can only do resolve, bookmark, public/unpublic and remove actions for specific data in the project.

System Agents : No team interface, only the specific data in the project to do the bookmark, unpublic and remove operations.

650) this.width=650; "Src=" http://mmbiz.qpic.cn/mmbiz_jpg/ Vgsq2bll9klzp6bkdkd4z6zskbk6kvuryp3fixtcj0b5tmypakddsuk0iacjqskema3yyuqndmtvl4gysolysiw/640?wx_fmt=jpeg&tp =webp&wxfrom=5&wx_lazy=1 "style=" Margin:0px;padding:0px;height:auto;width:auto; "alt=" 640?wx_fmt=jpeg &tp=webp&wxfrom=5&wx_lazy "/>

    • Sentry's permissions and entity settings basically meet the needs of reality:

1, if a team is responsible for multiple projects, can be achieved through a team of multiple project methods.

2. If a person participates in multiple teams, you can add the user to more than one team.

3. A team or project sets the appropriate owner, and this person can be responsible for the activities within that team or project. (The only drawback is that team owner is not allowed to create project)

4, a team or project division of labor should be a manager to set the basic project settings, Management API key, and the API key distributed to the project developer, the project developer as a regular user login Sentry view errors and resolve errors, operations in the system Agents Identity Login Sentry View system running status.

    Have you started looking for sentry download resources? Don't worry, in good rain • Cloud City can find sentry, and not only free trial, but also can not install a key to use, what are you waiting for? Scan the QR code below or click on "Read full" to use Sentry right away!

650) this.width=650; "Src=" http://mmbiz.qpic.cn/mmbiz_jpg/ Vgsq2bll9klzp6bkdkd4z6zskbk6kvurg895uzxzqlx9djxrbfyfcbda82chiag76hwopldk4alupvhamyykrew/640?wx_fmt=jpeg&tp =webp&wxfrom=5&wx_lazy=1 "style=" Margin:0px;padding:0px;height:auto;width:auto; "alt=" 640?wx_fmt=jpeg &tp=webp&wxfrom=5&wx_lazy "/>


Platform--sentry for real-time event logging and aggregation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.