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.3.tar.gz
(12.1 kB
view hashes)
Built Distribution
aiocarbon-0.15.3-py3-none-any.whl
(19.0 kB
view hashes)
Close
Hashes for aiocarbon-0.15.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b707cf07269fb131ec0bd1aca612d8c42bee7c58babafa59384cbb985b09ba2 |
|
MD5 | 83f1cd935e7c3238a84161333349672d |
|
BLAKE2b-256 | 3abe8bb23dd4f99eb67ce67d58a8f864adccb2d99c77f956dbe9be6d3d60dde1 |