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
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
apimon-0.0.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file apimon-0.0.2.tar.gz
.
File metadata
- Download URL: apimon-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adcbad2db225761362ae17b40dcf9643f4c3d46dafbdaee9e3e2087edae2822 |
|
MD5 | e6083a73ec8f6106f220220eefa83f76 |
|
BLAKE2b-256 | a878cdeb4c2a92409e0fc8970744fb3d7eae508fc62c74690bb00f623e9ef2e7 |
Provenance
File details
Details for the file apimon-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: apimon-0.0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 519d790cdb922d46fcbae064a96b4ba18d337181f9a03bee652a613dd775496d |
|
MD5 | de6076b79eabc1de04d60d86b8c97a7b |
|
BLAKE2b-256 | f49a1d3eb0f6b6f441ab8e2d13f8d440f25998eba4ef32068479815a7e92b318 |