Chapter 5: Using Time Series Databases

Time series databases (TSDBs) are a must in any Internet of Things (IoT) platform. As we have seen in Chapter 4, Data Sources for Grafana, we need a way to store data from IoT devices.

IoT data is inherently associated with time because every measurement occurs at a specific time. So, we have a timestamp for each measurement.

The TSDB allows storing, managing, and querying time-series data easily.

Let’s start learning how to install and configure an InfluxDB instance.

In this chapter, you will see the following topics:

  • Installing and configuring InfluxDB
  • Creating and managing an InfluxDB database
  • Installing OpenTSDB
  • Writing data in OpenTSDB

This chapter is a fundamental piece of this book because we ...

Get Building IoT Visualizations using Grafana now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.