-

async_stats#

+

async_stats#

An async transport method for statsd communication.

-class AsyncStatsClient(loop, host='localhost', port=8125, prefix=None)[source]#
+class AsyncStatsClient(loop, host='localhost', port=8125, prefix=None)[source]#

Bases: StatsClientBase

An async implementation of statsd.client.base.StatsClientBase that supports async stat communication.

-__init__(loop, host='localhost', port=8125, prefix=None)[source]#
+__init__(loop, host='localhost', port=8125, prefix=None)[source]#

Create a new AsyncStatsClient.

Parameters:
@@ -445,11 +449,11 @@
-async create_socket()[source]#
-

Use asyncio.loop.create_datagram_endpoint from the loop given on init to create a socket.

+async create_socket()[source]# +

Use asyncio.loop.create_datagram_endpoint from the loop given on init to create a socket.

Return type:
-

None

+

None

@@ -530,10 +534,10 @@ - - - - - + + + + + \ No newline at end of file -- cgit v1.2.3