danialhbma / ITP-SE12-Power-Monitoring

ICT3111 Integrative Team Project
1 stars 0 forks source link

Implementation: Grafana #21

Closed yucan-yu closed 1 year ago

yucan-yu commented 1 year ago

Set up Grafana with InfluxDB as its data source for real-time monitoring, and explore additional capabilities that can be provided and is suitable for our use case.

Refer to #6 for research findings.

Yapping72 commented 1 year ago
  1. Hosting grafana server on port :3000.
  2. Created and merged docker-compose files

WIP: Adding InfluxDB as datasource.

yucan-yu commented 1 year ago

Created a test dashboard and successfully retrieved data from InfluxDB via Flux query.

Image

yucan-yu commented 1 year ago

Sample query syntax: from(bucket: "Water") |> range(start: 2023-06-15T00:00:00Z, stop: 2023-06-17T00:00:00Z) |> filter(fn: (r) => r._measurement == "rack1_water")

Yapping72 commented 1 year ago

Added 24-hr visualization for:

Image

Image

Image

Team to discuss on beautifying grafana and what the crop scientists actually needs.

yucan-yu commented 1 year ago

Closing this issue. To create separate issues for specific Grafana implementations, currently:

  1. @Yapping72 to implement filters - followed up on issue #25.
  2. @yucan-yu to implement monthly report - followed up on issue #26.