File: python3-aiodogstatsd.py

package info (click to toggle)
aiodogstatsd 0.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 140 kB
  • sloc: python: 585; sh: 9; makefile: 3
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())