Skip to main content

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


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

Uploaded Source

Built Distributions

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

nextapm-1.0.1-py3.8.egg (18.3 kB view details)

Uploaded Egg

nextapm-1.0.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file nextapm-1.0.1.tar.gz.

File metadata

  • Download URL: nextapm-1.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nextapm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e386908bb08f633a6cf93fa7f3ecc8203b6ad80df243c246293c8fa1894ff69e
MD5 64e5a5e9b073c0cba280c2a49ae9aec7
BLAKE2b-256 6682f89b64d42b578127afa302b79b2092f1fc444f5f16038d333fe9f01dac07

See more details on using hashes here.

File details

Details for the file nextapm-1.0.1-py3.8.egg.

File metadata

  • Download URL: nextapm-1.0.1-py3.8.egg
  • Upload date:
  • Size: 18.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nextapm-1.0.1-py3.8.egg
Algorithm Hash digest
SHA256 b7d2ab27b4a4482ce5bce079bf3894706c470c066d19243de59a1a86fd0622bc
MD5 f7fff28d03fbd0d25822190a7e9a9575
BLAKE2b-256 42de2648356f69378b544bb76e4543c93bb61562994b0a28fd7a9ae9da572953

See more details on using hashes here.

File details

Details for the file nextapm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nextapm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for nextapm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e217ac9eb5be2f84f6760f2e5abb3862ebe899d3b78cbb4ba006ac8a6d573c28
MD5 bc84fedd038a80e788593a5e8fd9bb6d
BLAKE2b-256 ce408f61aa38a55ed88a92a19482add75a0a741ca729b58ff6a33470784f401c

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