The Falcon integration adds support for the Falcon Web Framework. The integration has been confirmed to work with Falcon 1.4 and 2.0.
Install sentry-sdk
from PyPI with the falcon
extra:
$ pip install --upgrade sentry-sdk[falcon]
To configure the SDK, initialize it with the integration before your app has been initialized:
import falcon
import sentry_sdk
from sentry_sdk.integrations.falcon import FalconIntegration
sentry_sdk.init(
dsn="YOUR-GLITCHTIP-DSN-HERE",
integrations=[FalconIntegration()]
)
api = falcon.API()