Send metrics to Graphite asynchronously from your asyncio application
Project description
asyncmetrics
Send metrics to Graphite asynchronously from your asyncio application
Example
from asyncmetrics import count, time
@count
async def get_something():
"""Every call will produce `<module>.get_something.count 1 <now>`"""
@time
async def process_something():
"""Every call will produce `<module>.process_something.time.us <duration> <now>`"""
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
asyncmetrics-0.4.0.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file asyncmetrics-0.4.0.tar.gz
.
File metadata
- Download URL: asyncmetrics-0.4.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.5.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9ba0608fe904015b07004bbdbadfff3e0f03643c6822e34eae6b31652ff9224 |
|
MD5 | e81ccce230379c64e7ca8eda6036c21e |
|
BLAKE2b-256 | bc1791862b585556a8ef3da6452b5f04177baa8ed769d76ffb21784ba54a6253 |
File details
Details for the file asyncmetrics-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: asyncmetrics-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.5.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5767740cad3dffb3c885e64bd2d8c9589883425af494f81b89299381b4d17b30 |
|
MD5 | a73f65d5fb5207407f9be191f345198a |
|
BLAKE2b-256 | 5def5a18d71bb121c1a2668bf1b8d98134a9ebce32f5d0f1a266ecda37789289 |