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 will use TSDBs for building dashboards and performing analytics over the next chapters.