Skip to content

v3io/grafwiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grafwiz

Grafana dashboard wizard/generator

Usage example

dash = Dashboard("stocks", start='now-1d', dataSource='iguazio')
dash.template(name="SYMBOL", label="Symbol", query="fields=symbol;table_name=stocks;backend=kv;container=bigdata")

tbl = Table('tbl1',span=8).source(table='stocks',fields=['symbol','name','currency','price','last_trade','timezone','exchange'],container='bigdata')
log = Ajax(title='Log',url='https://stream-view.iguazio.app.vjszzjiaingr.iguazio-cd0.com/')
dash.row([tbl,log])

dash.row([Graph(metric).series(table="stock_metrics", fields=[metric], filter='symbol=="$SYMBOL"',container='bigdata') for metric in ['price','volume','sentiment']])

print(dash.show())

dash.deploy('http://grafana')

About

Grafana dashboard wizard/generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages