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.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

sentry_patrol-0.1.0-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sentry-patrol-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sentry-patrol-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b924f322ff326935c5cd312bf4e11cd81f2358833518d36e09c22432892e110
MD5 332595a83a78b6696e38fa752d0cbe76
BLAKE2b-256 5138e1503b62055009138ded55c123f44d6049ca9cbe021093f5de18db5ed9ab

See more details on using hashes here.

File details

Details for the file sentry_patrol-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_patrol-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78e820b9443f8cbf807ff5477cdfc34bd4210ba62f5acc98867bea30c1352778
MD5 b1c66636aea72cacbd497c5d97a33829
BLAKE2b-256 73d243a59a73dd0b1f430c1dda5c12d34eb486186fc9d133adf1efee804bc490

See more details on using hashes here.

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