November 2018
Intermediate to advanced
556 pages
14h 42m
English
OpenTSDB is very similar to KairosDB but it is less popular and based instead on either Apache Cassandra or HBase. In the following simple example, we are going to start a single-node OpenTSDB based on HBase. We will use a Docker image to avoid a long installation process.
OpenTSDB uses the RESTful API and Telnet to query and ingest data. To install OpenTSDB, download the code from GitHub:
git clone https://github.com/PacktPublishing/Hands-On-Industrial-Internet-of-Thingscd Chapter07/opentsdb
Perform the following steps:
docker build . --tag iiot:opentsdb
docker run -v data:/data/hbase -p 4242:4242 --name opentsdb iiot:opentsdb