File: python3-aiodogstatsd.py

package info (click to toggle)
aiodogstatsd 0.16.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: python: 1,080; makefile: 70; sh: 19
file content (11 lines) | stat: -rw-r--r-- 167 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
import asyncio

import aiodogstatsd


async def main():
    async with aiodogstatsd.Client() as client:
        client.increment("users.online")

asyncio.run(main())