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.3.0.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.3.0.tar.gz
.
File metadata
- Download URL: aiocarbon-0.3.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336548a2476891dbe3191bb68348912169dd74681907ad8159f1b980dff69837 |
|
MD5 | d45025f5e871d3338541576f841f6aef |
|
BLAKE2b-256 | 74b85fe289847882ef60950155fe0512a3ea0aa4e9ef8c0cf11798d5b49d80fd |
File details
Details for the file aiocarbon-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.3.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 | 59f14d5fab1c1a3b1a5535316369b494dad66b99358de55b1a41f1143d81b6a9 |
|
MD5 | 92e69ac5466a12f5ff9e36b57d8f7ad5 |
|
BLAKE2b-256 | 61f86069f486eee2553cca6d3e53801cbe13fb015903a3b4d30c086464435aa6 |