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.1.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.9.1.tar.gz
.
File metadata
- Download URL: aiocarbon-0.9.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e0e0aff061ecfcf4021cc2e44dbc7f82525ea78434530afc29da76692e8059 |
|
MD5 | b00e247c4dce65da99c1b8a7e6f087de |
|
BLAKE2b-256 | 1b14e7c08cac42101d5d8e2d0f59bb9db82393a8975b8e4d361a94b5e2f0617c |
Provenance
File details
Details for the file aiocarbon-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.9.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6bd34fce0035554af166f5223885159baab889d5c539c688324a5dab450858 |
|
MD5 | 3d817daf6344a6fd9f2f432d54576ae5 |
|
BLAKE2b-256 | e8522b52645c528f4585fedfa6a62e558b197106ec27331a4e34abe7acd7b806 |