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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sentry-patrol-0.1.1.tar.gz
Algorithm Hash digest
SHA256 95e09fb44d80f5e56678392996407b77474cc3db596240310a510690461f833c
MD5 ef9d4fd9997dac6ef782cf674ebd259c
BLAKE2b-256 655bcc74d1a27aa34054c96af7ed2a3e45b2053b574f9aebd5ae9df640cc1291

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sentry_patrol-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6420ae7ea4e46ec37afa802eecdb6cdac3731739218010d7ec30678d826dbf35
MD5 0d37d226d9861467e3331eb1f1142dbc
BLAKE2b-256 a6afb9f9940b42658dc8942a29bc7c063954a72021af4b68d6a70fe6268b6c82

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