Metadata-Version: 2.1
Name: pythonapm
Version: 1.0.3
Summary: Monitor Django and Flask python web applications
Home-page: https://nextapm.dev
Author: Chan Anan
Author-email: chan@nextapm.dev
License: MIT
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# 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

