openTSDB API详解之version

这个命令与HTTP /api/version 端像似,因为它将返回信息:关于目前的运行的openTSDB版本。这个命令无论如何都不会修改TSD。

Request

这个命令格式是:

​version​

Response

一组带有版本信息的行

Example

net.opentsdb.tools BuildData built at revision a7a0980 (MODIFIED)
Built on 2016/11/03 19:35:50 +0000 by clarsen@tsdvm:/Users/clarsen/Documents/opentsdb/opentsdb_dev

如下是笔者的电脑上执行的操作:

[root@server4 conf]# telnet 192.168.211.4 4399
Trying 192.168.211.4...
Connected to 192.168.211.4.
Escape character is '^]'.
version
net.opentsdb.tools 2.3.0 built at revision cac608a (MINT)
Built on 2016/12/29 13:57:15 +0000 by root@centos.localhost:/home/hobbes/opentsdb_OFFICIAL/build