Added niceness for railsy tracebacks in Sentry
Project description
# Sentry Cardinal
This extension to [Sentry](https://github.com/dcramer/sentry) adds a little
spice when dealing with longwinded tracebacks (such as those generated by Rails
applications).
## Features
### Filtered Tracebacks
Traceback frames may be annotated with a `context_type`. By default, only
frames with a `context_type` of 'application' will be shown, but you can
easily toggle to show the full or framework tracebacks.
### Grouping of exceptions by a `cleaned_function` name
Frameworks like rails that dynamically create functions sometimes create
function names that differ, but are functionally identical. In these cases,
the client may want to specify a `cleaned_function` attribute for a frame that
will be used to compute the message's group rather than the `function`
attribute.
## Usage
Add `sentry_cardinal` to sentry's `INSTALLED_APPS`. You will need to configure
your client to send stack traces with the interface
`sentry_cardinal.interfaces.Stacktrace` instead of the usual
`sentry.interfaces.Stacktrace`.
This extension to [Sentry](https://github.com/dcramer/sentry) adds a little
spice when dealing with longwinded tracebacks (such as those generated by Rails
applications).
## Features
### Filtered Tracebacks
Traceback frames may be annotated with a `context_type`. By default, only
frames with a `context_type` of 'application' will be shown, but you can
easily toggle to show the full or framework tracebacks.
### Grouping of exceptions by a `cleaned_function` name
Frameworks like rails that dynamically create functions sometimes create
function names that differ, but are functionally identical. In these cases,
the client may want to specify a `cleaned_function` attribute for a frame that
will be used to compute the message's group rather than the `function`
attribute.
## Usage
Add `sentry_cardinal` to sentry's `INSTALLED_APPS`. You will need to configure
your client to send stack traces with the interface
`sentry_cardinal.interfaces.Stacktrace` instead of the usual
`sentry.interfaces.Stacktrace`.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sentry-cardinal-0.1.0-1.tar.gz.
File metadata
- Download URL: sentry-cardinal-0.1.0-1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16fb96173990fd6d7bca225182be4a949dd26a017ec860c69fda5a80bcd54e70
|
|
| MD5 |
358d2c454b4d6e6428d52eb458f5a627
|
|
| BLAKE2b-256 |
a7a7b58f0dba129e4c1a49f0d4acd3cfae83280543b7003723ea3f83824f6f42
|