Skip to main content

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


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)

Uploaded Source

Built Distributions

pythonapm-1.0.3-py3.8.egg (73.8 kB view hashes)

Uploaded Source

pythonapm-1.0.3-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page