/asyncmetrics

Send metrics to Graphite asynchronous from your asyncio application

Primary LanguagePythonMIT LicenseMIT

asyncmetrics

PyPI version Python version Build Status codecov

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>`"""