sntr: all of Sentry at your fingertips
sntr command-line program gives you convenient access to Sentry directly from your terminal.
Disclaimer: this is not an official Sentry project.
Despite being under the
getsentry GitHub organization, this project is only an experiment developed during Sentry's internal Hack Week 2020.
Expect no support, expect things to be broken in unimaginable ways, use at your own risk.
- List organizations:
sntr get organizations
- List projects:
sntr get projects
- List project issues:
sntr get ORG_SLUG/PROJ_SLUG
- Search issues:
sntr get --query
- Get events in JSON format
- Send test events:
- Create a proxy between your program and the Sentry ingestion API
- Traces and transactions
- List releases
- Multi DSN -- read/write multiple projects at once
sntr can send test events and time how long it takes to get it back after it has been processed by Sentry.
sentry-cli can send events too and with more advanced options.
In proxy mode,
sntr gives you the power to intercept all requests from a Sentry SDK to Sentry's ingestion API.
- Record any kind of outgoing data from SDKs before it goes to Sentry
- Interactively modify data before it is sent
- Programmatically modify data before it goes out
exec subcommand turns
sntr into a wrapper that can execute and capture errors and crashes from arbitrary processes.
sntr-execreceives a termination signal, it tries to send an event to Sentry.
- Record latencies of every HTTP interaction
- Visualize latency distribution with "HdrHistogram-like" graph
How to install
brew install sntr
- Download release from GitHub