Provides opbeat instrumentation for your Pyramid projects.
Project description
opbeat-pyramid
--------------
[![CircleCI](https://circleci.com/gh/monokrome/opbeat_pyramid.svg?style=svg)](https://circleci.com/gh/monokrome/opbeat_pyramid)
[![Coverage Status](https://coveralls.io/repos/github/monokrome/opbeat_pyramid/badge.svg?branch=master)](https://coveralls.io/github/monokrome/opbeat_pyramid?branch=master)
Provides middleware for transaction and error reporting to opbeat from your
Pyramid applications.
### Installation
Installation can be done with easy_install, pip, or whichever package
management tool you prefer:
```
pip install opbeat_pyramid
```
### Usage
Using the module should be simple. You will need to call
`config.include('opbeat_pyramid')` on the configurator for your Pyramid
project. With the standard Pyramid boilerplates, this will be done in the
`main` function within **\__init__.py**.
#### Options
The following options **must be** in your app configuration in order to use
this module:
| Pyramid Setting | Environment Variable | Description |
|----------------------------------|--------------------------------|------------------------------------------------------------------------------------|
| opbeat.enabled * | OPBEAT_ENABLED | True to enable reporting to OpBeat |
| opbeat.module_name * | OPBEAT_MODULE_NAME | The name of your project's module |
| opbeat.organization_id * | OPBEAT_ORGANIZATION_ID | Your opbeat organization ID |
| opbeat.app_id * | OPBEAT_APP_ID | Your opbeat app ID |
| opbeat.secret_token * | OPBEAT_SECRET_TOKEN | Your opbeat secret token |
| opbeat.unsafe_settings_phrases | OPBEAT_UNSAFE_SETTINGS_PHRASES | Comma-separated phrases used in setting names that should never be sent to update. |
*NOTE: Settings marked with \* are required*
--------------
[![CircleCI](https://circleci.com/gh/monokrome/opbeat_pyramid.svg?style=svg)](https://circleci.com/gh/monokrome/opbeat_pyramid)
[![Coverage Status](https://coveralls.io/repos/github/monokrome/opbeat_pyramid/badge.svg?branch=master)](https://coveralls.io/github/monokrome/opbeat_pyramid?branch=master)
Provides middleware for transaction and error reporting to opbeat from your
Pyramid applications.
### Installation
Installation can be done with easy_install, pip, or whichever package
management tool you prefer:
```
pip install opbeat_pyramid
```
### Usage
Using the module should be simple. You will need to call
`config.include('opbeat_pyramid')` on the configurator for your Pyramid
project. With the standard Pyramid boilerplates, this will be done in the
`main` function within **\__init__.py**.
#### Options
The following options **must be** in your app configuration in order to use
this module:
| Pyramid Setting | Environment Variable | Description |
|----------------------------------|--------------------------------|------------------------------------------------------------------------------------|
| opbeat.enabled * | OPBEAT_ENABLED | True to enable reporting to OpBeat |
| opbeat.module_name * | OPBEAT_MODULE_NAME | The name of your project's module |
| opbeat.organization_id * | OPBEAT_ORGANIZATION_ID | Your opbeat organization ID |
| opbeat.app_id * | OPBEAT_APP_ID | Your opbeat app ID |
| opbeat.secret_token * | OPBEAT_SECRET_TOKEN | Your opbeat secret token |
| opbeat.unsafe_settings_phrases | OPBEAT_UNSAFE_SETTINGS_PHRASES | Comma-separated phrases used in setting names that should never be sent to update. |
*NOTE: Settings marked with \* are required*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opbeat_pyramid-1.0.13.tar.gz
(8.5 kB
view details)
File details
Details for the file opbeat_pyramid-1.0.13.tar.gz
.
File metadata
- Download URL: opbeat_pyramid-1.0.13.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab57595dc3584d5e75e08a4e6fff42b78d0b0106d8f99418307c592928b767a |
|
MD5 | cc2fc40c2ad754916d24ea89a60fb37d |
|
BLAKE2b-256 | 34ddf444bef1b0dcfe7bb3b479c2f2cc17a53a3f411755212d5f904c94298eb1 |