mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Proper sized grafana snapshots in Ghost
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -251,7 +251,7 @@ class GhostRequest:
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
snapshot = grafana.list_snapshots()[-1]
|
snapshot = grafana.list_snapshots()[-1]
|
||||||
print(snapshot)
|
print(snapshot)
|
||||||
text = text + '<iframe src="http://%s:3000/dashboard/snapshot/%s" width="100%s" height=500></iframe>' % (grafana_host, snapshot['key'], '%')
|
text = text + '<iframe src="http://%s:3000/dashboard/snapshot/%s" width="100%s" height=1500></iframe>' % (grafana_host, snapshot['key'], '%')
|
||||||
|
|
||||||
now = date.now()
|
now = date.now()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user