Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 3.37 KB

README.md

File metadata and controls

44 lines (34 loc) · 3.37 KB

azure-iot-edge-redis-timeseries

IoT Edge Build

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

Features

  • Ability to connect to Redis with Unix Sockets in addition to TCP.
  • Scrapes Redis usage metrics in Prometheus format.
  • Exposes an Azure IoT Hub Direct Method named GetTimeSeriesInfo. This method can be used to retrieve statistics about the stored data in RedisTimeSeries.
  • Provides Grafana dashboards for visualizing timeseries and above Prometheus data sources, see below.
  • Support for Dev Container through the Docker-in-Docker Feature.

Architecture

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.

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.

Team