example dashboard
This commit is contained in:
parent
dc227ff505
commit
06ad6d088d
|
@ -12,3 +12,19 @@ To connect Grafana to our Influx-DB, you have to create a `token`in Influx-DB.
|
|||
You can use this token to create a connection from Grafana to Influx-DB.
|
||||
![Connection](./docs/images/database-connection.png)
|
||||
|
||||
After having a conneciton to a database you can easily create an own dashboard in Grafana.
|
||||
|
||||
Here's the demo snippet (directly copyied from Influx Data Explorer) and the screen shot
|
||||
|
||||
```
|
||||
from(bucket: "test")
|
||||
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|
||||
|> filter(fn: (r) => r["_measurement"] == "msg")
|
||||
|> filter(fn: (r) => r["_field"] == "value")
|
||||
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|
||||
|> yield(name: "mean")
|
||||
```
|
||||
|
||||
![Example Dashboard](./docs/images/grafana-example-dashboard.png)
|
||||
|
||||
|
||||
|
|
BIN
software/dashboard/docs/images/grafana-example-dashboard.png
Normal file
BIN
software/dashboard/docs/images/grafana-example-dashboard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 214 KiB |
Loading…
Reference in a new issue