Sentry-chalice
Sentry-Chalice allow the integration of Chalice on sentry.
You can use sentry-chalice integration like this:
import sentry_sdk
from chalice import Chalice
from sentry_chalice import ChaliceIntegration
sentry_sdk.init(
dsn="https://<key>@<organization>.ingest.sentry.io/<project>",
integrations=[ChaliceIntegration()]
)
app = Chalice(app_name='appname')
sentry-chalice now it works just for views: @app.route.
You can create a route that triggers an error for validate your Sentry installation, like this:
@app.route('/boom')
def boom():
raise Exception('boom goes the dynamite!')
when you enter the route will throw an error that will be captured by Sentry.
Behavior
- Request data is attached to all events: HTTP method, URL, headers, form data, JSON payloads. Sentry excludes raw bodies and multipart file uploads. Sentry also excludes personally identifiable information (such as user ids, usernames, cookies, authorization headers, IP addresses) unless you set send_default_pii to True.
Each request has a separate scope. Changes to the scope within a view, for example setting a tag, will only apply to events sent as part of the request being handled.
Release files for sentry-chalice 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sentry_chalice-0.3.3.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sentry_chalice-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / sentry_chalice-0.3.3.tar.gz
| Download URL | sentry_chalice-0.3.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e8a3f2d7261fb995a98880fa921c183cd29403a19c8ecaad440604ac398701b
|
|
BLAKE2b-256 checksum How to use checksums |
1e13b5933468243c1d744f632ca8d217dd77912bd39adae1acf6e93c50e0eddf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / sentry_chalice-0.3.3-py3-none-any.whl
| Download URL | sentry_chalice-0.3.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2012b737fdde23e98412094b88bfc7bd481f54c7b666734d867359950ca724c
|
|
BLAKE2b-256 checksum How to use checksums |
9d61b8f5a4b6233c1d6b0a1c16cb5a53e861aef205cbe1ff6058415af1da6e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|