Skip to main content

Python SDK for Metzoo

Project description

Exmaple of use:

>>> import metzoo
>>> # create an agent
>>> agent = metzoo.Agent(CUSTOMER_KEY, "")
<Agent '', key: 'xxx...'>
>>> # or with an url
>>> agent = metzoo.Agent(CUSTOMER_KEY, "", "")
<Agent '', key: 'xxx...'>
>>> # configure the metrics to use (optional)
>>> agent.configure({"": "unit", "": "unit"})
>>> # send data for given metrics using system time...
>>> agent.send({"": 134.22, "": 8123})
>>> # ...or using your own time
>>> agent.send({"": 134.22, "": 8123}, timestamp=1234567)
>>> # update own agent configuration (not implemented yet)
>>> agent.update()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for metzoo-python-sdk, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size (7.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page