зеркало из https://github.com/microsoft/statsd.git
Update examples/python_example.py
call the client a Client.
This commit is contained in:
Родитель
6061c3b23e
Коммит
5953c665b2
|
@ -9,8 +9,7 @@
|
||||||
# statsd_port = 8125
|
# statsd_port = 8125
|
||||||
|
|
||||||
# Sends statistics to the stats daemon over UDP
|
# Sends statistics to the stats daemon over UDP
|
||||||
class Statsd(object):
|
class StatsdClient(object):
|
||||||
|
|
||||||
def __init__(self, host='localhost', port=8125):
|
def __init__(self, host='localhost', port=8125):
|
||||||
self.host = host
|
self.host = host
|
||||||
self.port = port
|
self.port = port
|
||||||
|
|
Загрузка…
Ссылка в новой задаче