Monitor vercel serverless python api
Project description
NextAPM
Monitor the python serverless functions deployed in vercel platform. You need https://nextapm.dev account to configure the monitor.
Installation
Install agent module in your application
pip install nextapm
Instrumentation
To monitor serverless api, import following module in all api files
// this should be in the first line
import nextapm;
from http.server import BaseHTTPRequestHandler
... your app code ...
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
nextapm-1.0.1.tar.gz
(5.0 kB
view hashes)
Built Distributions
nextapm-1.0.1-py3.8.egg
(18.3 kB
view hashes)