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.2.0.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.2.0.tar.gz
.
File metadata
- Download URL: aiocarbon-0.2.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd4bbca01ab2b57034b6bb3124ea941c73bd1f3bdcd1682f0c70a6364eb4da0 |
|
MD5 | cc1733e20ef35f791e3d892da4ee5d64 |
|
BLAKE2b-256 | f622d612c2b782e4fa37180c1be9fba658765b00063af2a51090d93d37a476af |
File details
Details for the file aiocarbon-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b95410b1519a081ad67e100efc97642c0276102872496836b75e21b34cef1a |
|
MD5 | 546e24514737ef88e076befacc2a237b |
|
BLAKE2b-256 | b6872b1d0badfbdabd9cf98b50d2797e77cf3290a9d1b6b4872877635fb4c6c4 |