This is the official Python module for Stackify Python APM.
Project description
Stackify Python APM
Installation Guide
Django Setup
-
Install Stackify Linux Agent.
-
Check that your setup meets our system requirements.
- Python Versions 3.6 - 3.7
- Django Versions 1.7 - 2.x
-
Install the Stackify Python APM agent using pip:
$ pip install stackify-python-apm
You may install your stackify-python-apm by adding it to your project's
requirements.txt
file. -
Add
stackifyapm.contrib.django
toINSTALLED_APPS
in yoursettings.py
:INSTALLED_APPS = ( # ... 'stackifyapm.contrib.django', )
-
Add our tracing middleware to
MIDDLEWARE
in yoursettings.py
:MIDDLEWARE = ( 'stackifyapm.contrib.django.middleware.TracingMiddleware', # ... )
-
Customize Application Name and Environment configuration in your
settings.py
:APPLICATION_NAME = 'Python Application' ENVIRONMENT = 'Production'
Flask Setup
-
Install Stackify Linux Agent.
-
Check that your setup meets our system requirements.
- Python Versions 3.6 - 3.7
- Flask Versions 0.7 - 1.0
-
Install the Stackify Python APM agent using pip:
$ pip install stackify-python-apm
You may install your stackify-python-apm by adding it to your project's
requirements.txt
file. -
Update and insert the apm settings to your application:
from stackifyapm.contrib.flask import StackifyAPM app = Flask(...) StackifyAPM(app)
-
Customize Application Name and Environment configuration:
app.config['APPLICATION_NAME'] = 'Python Application' app.config['ENVIRONMENT'] = 'Production' StackifyAPM(app)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stackify-python-apm-0.9.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11579be9dd3f0ea5688ec7bf219901642b1a695de5979b8517bd441a3d1aab78 |
|
MD5 | f79c6da34e49f00ad19f2c636b5a1f41 |
|
BLAKE2b-256 | b8eb5a5c7837dc823c12bc4ca71a41bc13b1a8b620df713c2808126f9d763658 |
Hashes for stackify_python_apm-0.9.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3958a7555a1d6ea821ade4397404fc0c05a81a4acaeb9b68676eba822cd0d2f4 |
|
MD5 | 2ffbbb03b3f54c9f2126499095cf6f3f |
|
BLAKE2b-256 | 7add97404e361b9b1077b5a8b9e28361edb39cadc1c713207b43c51715dec166 |