Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

This sample Azure IoT Edge module demonstrates how to store sensor data in RedisTimeSeries and visualize it in Grafana.

License

Notifications You must be signed in to change notification settings

laurafernandezdiaz/azure-iot-edge-redis-timeseries

 
 

Repository files navigation

azure-iot-edge-redis-timeseries

This sample Azure IoT Edge solution demonstrates how to store timeseries data from IoT sensors in RedisTimeSeries. The Simulated Temperature Sensor edge module is used to generate temperature, pressure and humidity readings. These readings are then routed to our custom C# edge module which stores them in RedisTimeSeries.

The custom edge module also provides an Azure IoT Hub Direct Method named GetTimeSeriesInfo. This method can be used to retrieve statistics about the stored data in RedisTimeSeries.

Prerequisites

Configuration

The .env file can be modified for container version, container host names and to use an Azure Container Registry instead of a local docker registry.

Architecture

Grafana Dashboards

Simulated timeseries dashboard was created using the Redis Data Source for Grafana .

Redis usage dashboard was created using the Prometheus Redis Metrics Exporter.

About

This sample Azure IoT Edge module demonstrates how to store sensor data in RedisTimeSeries and visualize it in Grafana.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.2%
  • Dockerfile 6.2%
  • Shell 1.6%