Skip to main content

Command Line program to interact with sentry API

Project description

Sentry Patrol offers a CLI (Command Line Interface) to the Sentry API.

The project is still in alpha state and in active development

Setup

pipenv install --dev
python setup.py develop
export SENTRY_API_TOKEN=<your-token>

How to get your sentry API Token

You have to access the Sentry API Page (https://sentry.io/api/). Then you must log in and get you API Auth Token.

How to use

For a list of commands and options, check the help output with:

patrol --help

Events

This command lists events for a given sentry project. It can be used as follows:

patrol events <org-name> <project-name>

This command fetch an event for a given sentry project. It can be used as follows:

patrol event <org-name> <project-name> <event-id>

Issues

This command list issues for a sentry a project. It can be used as follows:

patrol issues <org-name> <project-name>

This command fetch an issue for a sentry a project. It can be used as follows:

patrol issue <issue-id>

This command update an issues status. It can be used as follows:

patrol update_issue_status --status <status> <issue-id>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry-patrol-0.1.1.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

sentry_patrol-0.1.1-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page