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.9.0.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.9.0.tar.gz
.
File metadata
- Download URL: aiocarbon-0.9.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b800bd2f10b56ce49551fbe93dbbe9da6a9300281dab21ac39bfa3a64f0be5 |
|
MD5 | 5cb0b74e62cbd3017a03375a209865d4 |
|
BLAKE2b-256 | 81c0742b23a599e210b7410396729c14185a87301d7d289d3e231dce9cd9d15c |
File details
Details for the file aiocarbon-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.9.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9605b993ada9474aaff9751abdb364e02a7a06858276c5be1bde83a4d4c20b9 |
|
MD5 | 7cd4a7362bc8aa66dc32c9e6fff578b4 |
|
BLAKE2b-256 | e872faaea29ebb4e27047266c9823b3ddfc1b8ed4882d095d4384d867b1111a0 |