Asynchronous client for carbon.
Project description
Client for feeding data to graphite.
Example
Counter example:
import asyncio
import aiocarbon
async def main(loop):
aiocarbon.setup(
host="127.0.0.1", port=2003, client_class=aiocarbon.TCPClient
)
for _ in range(1000):
with aiocarbon.Counter("foo"):
await asyncio.sleep(0.1)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))
loop.close()
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
aiocarbon-0.15.2.tar.gz
(7.4 kB
view hashes)
Built Distribution
aiocarbon-0.15.2-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for aiocarbon-0.15.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab6b96c07c803d5a2405d745fa281be54a336493f298c3c2484c61ad01a3d16f |
|
MD5 | cda01f82b323a4c39a171eb89960afc9 |
|
BLAKE2b-256 | ec6ba04ceb169caa3142cdd0812bc6fddcf385c8048b713ff62fd1713dea112e |