# Pyramid Error Monitoring

> Mark Pyramid errors as resolved & prioritize live issues quicker with Pyramid error monitoring. Discover how to get started with Sentry here.

**URL:** https://sentry.io/for/pyramid/

---

Actionable insights to resolve Pyramid performance bottlenecks and errors. Improve your monitoring workflow with a full view of releases so you can mark Pyramid errors as resolved and prioritize live issues.

**Documentation:** [https://docs.sentry.io/platforms/python/integrations/pyramid/](https://docs.sentry.io/platforms/python/integrations/pyramid/)

## Install

Install the [Sentry Python SDK](https://github.com/getsentry/sentry-python) from PyPI:

```bash
pip install --upgrade sentry-sdk
```

Initialize the SDK before or after your app has been created. The Pyramid integration is enabled automatically.

```python
import sentry_sdk
from pyramid.config import Configurator

sentry_sdk.init(
    dsn="https://<key>@sentry.io/<project>",
    # Add data like request headers and IP for users, if applicable;
    # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
    send_default_pii=True,
    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for tracing.
    # We recommend adjusting this value in production.
    traces_sample_rate=1.0,
)

with Configurator() as config:
    # ...
```

See the [Pyramid docs](https://docs.sentry.io/platforms/python/integrations/pyramid/) for full setup options.

## Features

### Pyramid Performance Monitoring

Within minutes after installing Sentry, software teams are able to trace Pyramid [performance](/product/tracing/) issues back to a poor performing API call as well as surface all related code errors. Engineering Managers and Developers now have a single tool to optimize performance of their code and deliver fast customer experiences with [Tracing](/product/tracing/).

### Pyramid Error Monitoring with Complete Stack Traces

See local variables in the stack for prod errors, just like in your dev environment. Introspect more deeply into the runtime and jump into the frame to get additional data for any local variable. Filter and group Pyramid exceptions intuitively to eliminate noise.

### Fill In the Blanks About Pyramid Errors

Expose the important events that led to each Pyramid exception: SQL queries, debug logs, network requests, past errors. Learn in which version a bug first appeared, merge duplicates, and know if things regress in a future release.

---

*Source: [sentry.io/for/pyramid/](https://sentry.io/for/pyramid/)*
