Metadata-Version: 1.1
Name: metzoo-python-sdk
Version: 0.3.2
Summary: Python SDK for Metzoo
Home-page: https://bitbucket.org/edrans/metzoo-python-sdk
Author: Edrans
Author-email: info@edrans.com
License: MIT
Description: Exmaple of use:
        
            >>> import metzoo
        
            >>> # create an agent
            >>> agent = metzoo.Agent(CUSTOMER_KEY, "agent.name")
            <Agent 'agent.name', key: 'xxx...'>
        
            >>> # or with an url
            >>> agent = metzoo.Agent(CUSTOMER_KEY, "agent.name", "https://api.metzoo.com")
            <Agent 'agent.name', key: 'xxx...'>
        
            >>> # configure the metrics to use (optional)
            >>> agent.configure({"metric1.name": "unit", "metric2.name": "unit"})
            {"status":"ok"}
        
            >>> # send data for given metrics using system time...
            >>> agent.send({"metric1.name": 134.22, "metric2.name": 8123})
            {"status":"ok"}
        
            >>> # ...or using your own time
            >>> agent.send({"metric1.name": 134.22, "metric2.name": 8123}, timestamp=1234567)
            {"status":"ok"}
        
            >>> # update own agent configuration (not implemented yet)
            >>> agent.update()
            {"status":"ok"}
        
Keywords: metzoo monitoring metric
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
