Telnet Style API

Telnet Style API

The original way of interacting with OpenTSDB was through a Telnet style API. A user or application simply had to open a socket to the TSD and start sending ASCII string commands and expect a response. This documentation lists the various commands provided by OpenTSDB.

Each command must be sent as a series of strings with a new line character terminating the request.

Note

Connections will be closed after a period of inactivity, typically 5 minutes.

If a command is sent to the API that is not supported or recognized, a response similar to the following will be shown:

unknown command: nosuchcommand.  Try `help'.

At any time the connection can be closed by issuing the exit command.

© 2010–2016 The OpenTSDB Authors
Licensed under the GNU LGPLv2.1+ and GPLv3+ licenses.
http://opentsdb.net/docs/build/html/api_telnet/index.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部