Skip to main content

monitor apis metrics

Project description

An exporter about prometheus, written in Python, mainly provides monitoring of api data functions, as follows:      1. Request quantity      2. Request duration per second      3. The number being requested      4. The last request took time

For details, please see: https://github.com/prometheus/client_python

Usage example: """

from apimon import ApiMonitor

apimonitor = ApiMonitor(app_name="your app name")
apimonitor.setup_metrics(app)  # your app object instance

"""

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

apimon-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

apimon-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file apimon-0.0.3.tar.gz.

File metadata

  • Download URL: apimon-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for apimon-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0aecc8ab8aa9fec33f7d1b603d42d3b2cc830b89f0bde8ecca19ee0004f2daac
MD5 af6ebd7d66a2135d4fb40dba60fc9507
BLAKE2b-256 e2bf422f1cc1a0794cf56b2cec1d279d859cf1ff6a782763af43aa32b5708bc5

See more details on using hashes here.

File details

Details for the file apimon-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: apimon-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for apimon-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e6457a8a27c6ffd03ed2a650ead1986e366beb205f7a5a19d6152577aaaa0f31
MD5 2f142b93230e3c3315e88015e7561028
BLAKE2b-256 cfbdf4543c726536c928a7fc779403445a615fedcd6dbbed3a57c136d2c06075

See more details on using hashes here.

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