Updated on 2024-08-16 GMT+08:00

OpenTSDB Application Development Process

Figure 1 and Table 1 describe the phases in the development process.

Figure 1 OpenTSDB application development process
Table 1 Description of the OpenTSDB application development process

Phase

Description

Reference

Understand basic concepts.

Before application development, learn basic concepts of OpenTSDB, understand the scenario requirements, and design tables.

Common Concepts of OpenTSDB Application Development

Prepare development and operating environments.

The Java language is recommended for OpenTSDB application development. You can use the Eclipse tool. The OpenTSDB operating environment is an OpenTSDB client. Install and configure the client according to the guide.

OpenTSDB Application Development Environment

Prepare a project.

OpenTSDB provides sample projects for different scenarios. You can import a sample project to learn the application. You can also create an OpenTSDB project according to the guide.

Importing and Configuring an OpenTSDB Sample Project

Develop a project based on the scenario.

A Java sample project is provided, including creating a metric, writing data, and querying data.

OpenTSDB Development Plan

Compile and run an application.

You can compile the developed application and submit it for running.

Commissioning an OpenTSDB Application

View application running results.

Application running results are exported to a path you specify. You can also view the status of the imported data on the UI.

Viewing the OpenTSDB Application Commissioning Result