OpenTSDB API Introduction
OpenTSDB provides HTTP-based or HTTPS-based APIs. A request method is to send a standard HTTP request containing the GET and POST methods to a path of a resource. The API is the same as that of the open source OpenTSDB. For details, visit https://opentsdb.net/docs/build/html/api_http/index.html.
The request and response entity type is application/JSON.
The code of the request and response entity is ISO-8859-1.
HTTP has security risks and HTTPS is a secure protocol. You are advised to use HTTPS for connection.
Common OpenTSDB APIs are as follows:
- Writing Data
- Querying Data
- Querying the First Piece of Data
- Querying the Last Piece of Data
- Managing the Data Lifecycle
Obtaining an OpenTSDB Link
Before calling an OpenTSDB API, perform the following operations to obtain the OpenTSDB link:
To obtain the OpenTSDB link, log in to the CloudTable management console and choose Cluster Mode in the left navigation pane. Click the cluster name to access the basic cluster information page. Locate OpenTSDB Link in the Cluster Information area, as shown in the following figure.
Last Article: OpenTSDB API
Next Article: Writing Data
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.