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.15.0.tar.gz
(7.3 kB
view details)
Built Distribution
File details
Details for the file aiocarbon-0.15.0.tar.gz
.
File metadata
- Download URL: aiocarbon-0.15.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68589418d97abe1ec3324a3fb8c6c6f384ccd8ac53e39bab0c88509f777cb9f |
|
MD5 | fa7695c9d194f13abad42e373ebd0dfa |
|
BLAKE2b-256 | 55a7ea9d245ea85819737fab993d6eda0a1c6ecc385d1d8c017828d00b150631 |
Provenance
File details
Details for the file aiocarbon-0.15.0-py3-none-any.whl
.
File metadata
- Download URL: aiocarbon-0.15.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e92336d35c7aec29f10ee15f79ceea93b0f5d491061f05e441c88d23191d0e8 |
|
MD5 | 95cb0ad53217d5c507ea87e325794a19 |
|
BLAKE2b-256 | fc6b7a80b5978502ac7bdeea0e8f84432e1c2b85c6b834a967cb7e60e1252f8a |