# Bottle Error Monitoring

> Resolve Bottle application performance errors & get a full-view of releases with Sentry's Bottle error monitoring. Get started for free today.

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

---

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

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

## Install

Install `sentry-sdk` from PyPI with the `bottle` extra:

```bash
pip install --upgrade 'sentry-sdk[bottle]==0.16.2'
```

To configure the SDK, initialize it with the integration before your app has been initialized:

```python
import sentry_sdk

from bottle import Bottle, run
from sentry_sdk.integrations.bottle import BottleIntegration

sentry_sdk.init(
    dsn="https://<key>@sentry.io/<project>",
    integrations=[BottleIntegration()]
)

app = Bottle()
```

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

## Features

### Bottle Performance Monitoring

Within minutes after installing Sentry, software teams are able to trace Bottle [performance](https://sentry.io/for/performance/) 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 Performance Monitoring.

### Bottle 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 Bottle exceptions intuitively to eliminate noise.

### Fill In the Blanks About Bottle Errors

Expose the important events that led to each Bottle 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/bottle/](https://sentry.io/for/bottle/)*
