The Pyramid integration adds support for the Pyramid Web Framework.
Install sentry-sdk
from PyPI:
$ pip install --upgrade sentry-sdk
To configure the SDK, initialize it with the integration before or after your app has been created:
import sentry_sdk
from sentry_sdk.integrations.pyramid import PyramidIntegration
sentry_sdk.init(
dsn="YOUR-GLITCHTIP-DSN-HERE",
integrations=[PyramidIntegration()]
)
from pyramid.config import Configurator
with Configurator() as config:
...