Skip to main content

Asynchronous client for carbon.

Project description

Coveralls Travis CI Latest Version https://img.shields.io/pypi/wheel/aiocarbon.svg https://img.shields.io/pypi/pyversions/aiocarbon.svg https://img.shields.io/pypi/l/aiocarbon.svg

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


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.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

aiocarbon-0.9.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file aiocarbon-0.9.0.tar.gz.

File metadata

  • Download URL: aiocarbon-0.9.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiocarbon-0.9.0.tar.gz
Algorithm Hash digest
SHA256 43b800bd2f10b56ce49551fbe93dbbe9da6a9300281dab21ac39bfa3a64f0be5
MD5 5cb0b74e62cbd3017a03375a209865d4
BLAKE2b-256 81c0742b23a599e210b7410396729c14185a87301d7d289d3e231dce9cd9d15c

See more details on using hashes here.

File details

Details for the file aiocarbon-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocarbon-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9605b993ada9474aaff9751abdb364e02a7a06858276c5be1bde83a4d4c20b9
MD5 7cd4a7362bc8aa66dc32c9e6fff578b4
BLAKE2b-256 e872faaea29ebb4e27047266c9823b3ddfc1b8ed4882d095d4384d867b1111a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page