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 2.7 - 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 your settings:INSTALLED_APPS = ( # ... 'stackifyapm.contrib.django', )
-
Add our tracing middleware to your
MIDDLEWARE settings
:MIDDLEWARE = ( 'stackifyapm.contrib.django.middleware.TracingMiddleware', # ... )
-
Customize Application Name and Environment configuration:
APPLICATION_NAME = 'Python Application' ENVIRONMENT = 'Production'
Flask Setup
-
Install Stackify Linux Agent.
-
Check that your setup meets our system requirements.
- Python Versions 2.7 - 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-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8489eabe5046337e0ff765ff904962c785ab4bcbf4f887d7acbb1dc987574579 |
|
MD5 | e4eb2916d3e62f1f20751d8965c5a21b |
|
BLAKE2b-256 | 31c59e92274552b0c6dd7b301b4b9b0c9981e556809d7705947b5116992866ae |
Hashes for stackify_python_apm-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aca570b20bbaf74fecb5133c6e0275cd1852460173a07a8895ec4b10a8b084c |
|
MD5 | c958ffbbeb2f9cf9b58224a97f128484 |
|
BLAKE2b-256 | c3b69d1dfc309760385e8b5ee65272854ad4981c9ed20ea60019337d64d4fac9 |