Monitor Django and Flask python web applications
Project description
NextAPM
Monitor the Django and Flask python web application. You need https://nextapm.dev account to configure the monitor.
Installation
Install agent module in your application
pip install pythonapm
Instrumentation
To monitor Django application, modify the settings.py
add "pythonapm.contrib.django" in the first of INSTALLED_APPS in django settings.py
To monitor Flask application, import following module in flask main file
// this should be in the first line of application main file
import pythonapm;
Configuration
Configure the following environment variables, you can get it from https://app.nextapm.dev after creating monitor.
NEXTAPM_LICENSE_KEY
NEXTAPM_PROJECT_ID
Restart/Redeploy
Restart/Redeploy your application and perform transactions
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
pythonapm-1.0.3.tar.gz
(10.9 kB
view hashes)
Built Distributions
pythonapm-1.0.3-py3.8.egg
(73.8 kB
view hashes)
pythonapm-1.0.3-py3-none-any.whl
(28.7 kB
view hashes)
Close
Hashes for pythonapm-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd5150b7349f6d51c1dc67eb76a95f700872113142836c9973c64dad3b09e03 |
|
MD5 | efcd68a34a1b28213579c77a13b4a1b5 |
|
BLAKE2b-256 | 3eb243571bd909b26eba2513ba71c6cee7ed5c690f95d81f80d93946bec7e734 |