enlightened-dc/sentry-monitor

This package is abandoned and no longer maintained. No replacement package was suggested.

Sentry Monitoring Screen. Display the exceptions on a time line from your projects.

1.3.0 2017-03-10 10:52 UTC

This package is not auto-updated.

Last update: 2021-10-16 02:08:27 UTC


README

GitHub license Build Status Scrutinizer Code Quality Github All Releases

Features

The sentry-monitor collect the events (mostly exceptions) from sentry and plot the information in a line chart diagram.

![Screenshot] (screenshot.png)

Installation

Download the monitor.phar file.

 $ curl -OsL https://github.com/mi-schi/sentry-monitor/releases/download/stable/monitor.phar
 $ chmod +x monitor.phar

Usage

Import the sentry events

Import the sentry events with the following command:

monitor.phar import [organisation-slug] --sentry-url=https://sentry.domain.com --sentry-api-key=ewd7wg68e76gziefb9eb

If you want to import only one project:

monitor.phar import [organisation-slug] [project-slug] --sentry-url=https://sentry.domain.com --sentry-api-key=ewd7wg68e76gziefb9eb

If you want to import all projects instead of one or more specific projects use the blacklist:

monitor.phar import [organisation-slug] --sentry-url=https://sentry.domain.com --sentry-api-key=ewd7wg68e76gziefb9eb --project-blacklist=sentry --project-blacklist=my-test-project

The sentry-api-key is the new oauth2 key you can generate on the api/ page.

Show the diagram

Start the build-in server with the default address http://localhost:8006:

monitor.phar run

Go to http://localhost:8006/[organisation-slug],3,hour,[project-name]. The three defines the days on the x-axis that will be displayed. You can define hour or day as x-axis scale. The parameter [project-name] is optional.