aiomeasures-fork-0.5.16
توضیحات
Collect and send metrics to StatsD
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiomeasures-fork-0.5.16 |
| نام | aiomeasures-fork |
| نسخه کتابخانه | 0.5.16 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Xavier Barbosa |
| ایمیل نویسنده | clint.northwood@gmail.com |
| آدرس صفحه اصلی | http://lab.errorist.xyz/abc/ |
| آدرس اینترنتی | https://pypi.org/project/aiomeasures-fork/ |
| مجوز | MIT |
AIO Measures
============
This library allows you to send metrics to your Datadog or Statsd server.
This works on Python >= 3.3 and relies on asyncio.
Installation::
python -m pip install aiomeasures
Usage::
from aiomeasures import Datadog
client = Datadog('udp://127.0.0.1:6789')
client.incr('foo')
client.decr('bar', tags={'one': 'two'})
with client.timer('baz'):
# long process
pass
The client will send metrics to agent as possible.
نحوه نصب
نصب پکیج whl aiomeasures-fork-0.5.16:
pip install aiomeasures-fork-0.5.16.whl
نصب پکیج tar.gz aiomeasures-fork-0.5.16:
pip install aiomeasures-fork-0.5.16.tar.gz