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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

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

Uploaded Python 3

File details

Details for the file pythonapm-1.0.3.tar.gz.

File metadata

  • Download URL: pythonapm-1.0.3.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pythonapm-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b40cd220a3296e875ffa585bd54e6788a2a3e7939f0983112c6a7a2044b1cb5c
MD5 e57a61956e83b61081bdb34271872207
BLAKE2b-256 d1b6758a377d34f8a417fbb0c786743a33b0950f529fee95d15e2517d0497ee1

See more details on using hashes here.

File details

Details for the file pythonapm-1.0.3-py3.8.egg.

File metadata

  • Download URL: pythonapm-1.0.3-py3.8.egg
  • Upload date:
  • Size: 73.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pythonapm-1.0.3-py3.8.egg
Algorithm Hash digest
SHA256 a8998d5a66d9b20ef8d84310c5452f7066599dfda8215a909f396a8854986bca
MD5 848f97e275bb2d0d9ce887e9b043cacf
BLAKE2b-256 7948f512cf7d714d8b682bbcbddd88d753631d7ae86fdccf653511a8c60506a5

See more details on using hashes here.

File details

Details for the file pythonapm-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pythonapm-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pythonapm-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd5150b7349f6d51c1dc67eb76a95f700872113142836c9973c64dad3b09e03
MD5 efcd68a34a1b28213579c77a13b4a1b5
BLAKE2b-256 3eb243571bd909b26eba2513ba71c6cee7ed5c690f95d81f80d93946bec7e734

See more details on using hashes here.

Supported by

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