Python SDK for Metzoo
Project description
Exmaple of use:
>>> import metzoo>>> # create an agent >>> agent = metzoo.Agent(CUSTOMER_KEY, "agent.name") <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 >>> agent.send({"metric1.name": 134.22, "metric2.name": 8123}) {"status":"ok"}>>> # update own agent configuration >>> agent.update() {"status":"ok"}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file metzoo-python-sdk-0.2.1.tar.gz.
File metadata
- Download URL: metzoo-python-sdk-0.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57179141282b893948040e0a1cd115054dfae4390587be8639871d757495ec75
|
|
| MD5 |
bd2353267eec5b77ded00d180a45ddba
|
|
| BLAKE2b-256 |
9375c098fa7d8ef01543378c2fb1fb58475727f2199af0461897dadb3695d7db
|