Task a grafana snapshot
Project description
grafana-snapshot Package
Install
If you want to use the API algorithms in your code, it is as simple as:
$ pip install grafana-snapshot
You can test by creating a python file:
from GrafanaSnapshot.snapshot_face import SnapshotFace
if __name__ == "__main__":
grafana = SnapshotFace(auth='xxxxx', host='localhost', port='3000', protocol='https')
## Create snaphot
results = grafana.snapshots.create_snapshot(tags="test_tag", time_from=1563183710618, time_to=1563185212275)
## Delete snaphot by key
result = grafana.snapshots.delete(delete_key='some_delete_key', key=None)
## get snaphot by key
results = grafana.snapshots.get_snapshot_by_key(key='some_key')
Uninstall
If you want to uninstall grafana-snapshot, it is as simple as:
$ pip uninstall -y grafana-snapshot
Status
API | Status |
---|---|
Create Snapshot | + |
Delete Snapshot | + |
Get Snapshot by tags | + |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for grafana_snapshot-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b159f2196966c8ed4a636263bf79282929cc7a82055d7bf8269be4311468f7c |
|
MD5 | afd341ea01b5384da1481a95bc0d5561 |
|
BLAKE2b-256 | 7e4283a823eab30a8666767bcbbbec34eb66a9e5eea44147fc41c4eb742d4136 |