The sntr command-line program gives you convenient access to Sentry directly from your terminal.

sntr: all of Sentry at your fingertips

The 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.


Features:

  • 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: sntr send
  • Create a proxy between your program and the Sentry ingestion API
  • Traces and transactions
  • List releases
  • Multi DSN -- read/write multiple projects at once
  • ...

Test events

sntr can send test events and time how long it takes to get it back after it has been processed by Sentry.

sntr send

NOTE: sentry-cli can send events too and with more advanced options.

Proxy

In proxy mode, sntr gives you the power to intercept all requests from a Sentry SDK to Sentry's ingestion API.

sntr proxy

Features:

  • 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

The exec subcommand turns sntr into a wrapper that can execute and capture errors and crashes from arbitrary processes.

sntr exec 
   

   

Features:

  • If exits with non-zero exit code, an error is sent to Sentry
  • If sntr-exec receives a termination signal, it tries to send an event to Sentry.

Extra

  • Record latencies of every HTTP interaction
  • Visualize latency distribution with "HdrHistogram-like" graph

How to install

  • brew install sntr
  • Download release from GitHub
Owner
Similar Resources

Command line access to NYC parking violations owed by a given license plate

nyc-parking-violations Finds the total a given license plate owes in parking tic

Feb 18, 2022

Aces is a command line utility that lets you encode any file to a character set of your choice.

Aces Any Character Encoding Set Aces is a command line utility that lets you encode any file to a character set of your choice. For example, you could

Nov 28, 2022

A simple tool which you can use to move through your directories from the command line

Fe What is Fe ? Fe is a simple tool which you can use to move through your direc

Jan 1, 2022

This is a command that simply prints "ok" onto your screen whenever you run the "ok" command

This is a command that simply prints

ok This is a command that simply prints "ok" onto your screen whenever you run the ok command Installation (Linux) Download the latest release and sud

Sep 16, 2022

Rclone ("rsync for cloud storage") is a command line program to sync files and directories to and from different cloud storage providers.

Rclone (

Rclone ("rsync for cloud storage") is a command line program to sync files and directories to and from different cloud storage providers.

Jan 5, 2023

Rclone ("rsync for cloud storage") is a command-line program to sync files and directories to and from different cloud storage providers.

Rclone (

Website | Documentation | Download | Contributing | Changelog | Installation | Forum Rclone Rclone ("rsync for cloud storage") is a command-line progr

Nov 5, 2021

Command-line program to download videos from YouTube.com and other video sites

youtube-dl - download videos from youtube.com or other video platforms INSTALLATION DESCRIPTION OPTIONS CONFIGURATION OUTPUT TEMPLATE FORMAT SELECTION

Jan 9, 2023

Beacon-fronting - A simple command line program to help defender test their detections for network beacon patterns and domain fronting

beacon-fronting A simple command line program to help network defenders test the

Oct 1, 2022

The Discord terminal client you never knew you wanted.

The Discord terminal client you never knew you wanted.

I AM CLOSING DOWN THE CORDLESS PROJECT Hey, so I know this is somewhat of a bummer, but I got banned because of ToS violation today. This seemed to be

Jan 7, 2023
Related tags
Watch your favourite anime using the video player of your choice directly from the command line

anime-cli Watch your favourite anime using the video player of your choice direc

Feb 10, 2022
`tmax` is a powerful tool to help you get terminal cmd directly.
`tmax`  is a powerful tool to help you get terminal cmd directly.

The positioning of tmax is a command line tool with a little artificial intelligence. If you frequently deal with the terminal daily, tmax will greatly improve your work efficiency.

Oct 15, 2022
Emlparsingtool - A command line tool that extracts attachments and content directly

A command line tool that extracts attachments and content directly from emL file format messages

Sep 6, 2022
An open-source GitLab command line tool bringing GitLab's cool features to your command line
An open-source GitLab command line tool bringing GitLab's cool features to your command line

GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code without switching

Dec 30, 2022
ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.
ls Xtended : A command line utility which lets you navigate through terminal like a pro 😎.

Navigate through terminal like a pro ?? ?? Demo • ⚗️ Installation • ?? Contribution • ❗ Known Issues ❓ Why? It's a pain to cd and ls multiple times to

Dec 14, 2022
🌿circumflex is a command line tool for browsing Hacker News in your terminal
🌿circumflex is a command line tool for browsing Hacker News in your terminal

??circumflex is a command line tool for browsing Hacker News in your terminal

Jan 1, 2023
t is a command line tool for testing on your terminal.
t is a command line tool for testing on your terminal.

t t is a command line tool for testing on your terminal. Installation $ go get github.com/yusukebe/t/cmd/t Usage Basic usage: $ t hello hello # => PA

May 5, 2022
A command line tool to prompt for a value to be included in another command line.

readval is a command line tool which is designed for one specific purpose—to prompt for a value to be included in another command line. readval prints

Dec 22, 2021
CLI tool to access the ranna API from your terminal.

Ranna CLI Usage Usage cli: -auth string ranna API auth token -endpoint string ranna API endpoint (default "http://api.ranna.zekro.

Jan 18, 2022
Command line, offline, access to HTTP references

This is a handy little helper that puts HTTP reference at your fingertips, when you're on the CLI, when you need it.

Dec 9, 2022