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 hashes)
Built Distribution
Close
Hashes for asyncmetrics-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5767740cad3dffb3c885e64bd2d8c9589883425af494f81b89299381b4d17b30 |
|
MD5 | a73f65d5fb5207407f9be191f345198a |
|
BLAKE2b-256 | 5def5a18d71bb121c1a2668bf1b8d98134a9ebce32f5d0f1a266ecda37789289 |