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.1.2.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.1.2.tar.gz
.
File metadata
- Download URL: aiocarbon-0.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db28102d859145fab18bd36b6676ce06b2a7d23eb84d82ac2d9348bfa6b84b26 |
|
MD5 | b1b1c7dff736f5264d0ea61118dd734a |
|
BLAKE2b-256 | eae8a3f6800bcbaf8f6db1ac8f4c5306803da2bcf721c8b484ef68d7de7d8d72 |
Provenance
File details
Details for the file aiocarbon-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d78ceb5e063b8a58d1744befe79d8aeda4462bcb777bb66dc6fd5a2b4625862 |
|
MD5 | 39dd7376dd36eda9e450e69824ad2abb |
|
BLAKE2b-256 | 5815ebdde6266b7e84d0da82a8ce6bcac4b326e739860b814edd9059dd40bdd1 |