Metadata-Version: 1.0
Name: telemetron-client
Version: 2.2
Summary: Client for Telemetron
Home-page: https://bitbucket.org/mindera/telemetry-client-python
Author: Joao Coutinho
Author-email: joao.coutinho@mindera.com
License: UNKNOWN
Description: # README #
        
        A Python client for Telemetron.
        
        ## Dependencies
        
            Python 2.6+
        
        
        ## How to use the client
        
        ### Sending a counter using _UDP_, to localhost:2013:
        
        
            from telemetronclient import TelemetronClient as Client
            client = Client(prefix="foo")  # UDP localhost:2013
            client.inc("mycounter", 1000)
            client.flush()
        
        
        ### Sending a counter using _TCP_, to _metrics.external.com:2014_:
        
        
            from telemetronclient import TelemetronClient as Client
            client = Client(
                host="metrics.external.com",
                port=2014
                socket_type=Client.TCP_SOCKET,
                prefix="bar")
            client.inc("mycounter", 1000)
            client.flush()
        
        
        ## How to run tests
        
            python setup.py nosetests
        
        
        ## Deployment instructions
        
        ### Using package:
        
            python setup.py install
        
        
        ### Using pip:
        
            pip install telemetron-client
        
Platform: UNKNOWN
