标签:cond 时间序列数据 result 通过 boolean poi 结构 .gz 数据源
#1. 重新安装新版本autoconf/automake #删除旧版本 yum erase autoconf #安装新版本autoconf wget http://mirrors.ustc.edu.cn/gnu/autoconf/autoconf-2.68.tar.gz tar -zxvf autoconf-2.68.tar.gz cd autoconf-2.68 ./configure make make install ln -s /usr/local/bin/autoconf /usr/bin/autoconf #安装新版本automake wget http://mirrors.ustc.edu.cn/gnu/automake/automake-1.11.2.tar.gz tar -zxvf automake-1.11.2.tar.gz cd automake-1.11.2 ./configure make make install ln -s /usr/local/bin/automake /usr/bin/automake ln -s /usr/local/bin/aclocal /usr/bin/aclocal #2.安装gnuplot-4.4.0 wget http://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz tar -zxvf gnuplot-4.4.0.tar.gz cd gnuplot-4.4.0 ./configure make make install ln -s /usr/local/bin/gnuplot /usr/bin/gnuplot
1 git clone https://github.com/OpenTSDB/opentsdb.git 2 cd opentsdb 3 ./build.sh 4 #当build.sh运行完毕的时候 你应该在opentsdb/build文件夹下看到opentsdb.jar
3、配置文件
配置文件及参数:
参数名 | 类型 | 是否必选 | 默认值 | 详细介绍 |
tsd.core.auto_create_metrics | Boolean | Optional | false | 新metric的数据点是否被指定UID。 当为false时,数据库中不具有metric的数据点将被拒绝并将抛出异常。 |
tsd.core.auto_create_tagks (2.1) | Boolean | Optional | true | 带有新标签名称的数据点是否会将一个UID分配给tagk。 当为false时,具有不在数据库中的标签名称的数据点将被拒绝并将抛出异常。 |
tsd.core.auto_create_tagvs (2.1) | Boolean | Optional | true | 是否具有新标签值的数据点将分配给tagv的UID。 当为false时,具有不在数据库中的标记值的数据点将被拒绝并将抛出异常。 |
Name | Data Type | Required | Description | QS |
metric | String | Required | The name of the metric you are storing | sys.cpu.nice |
timestamp | Integer | Required | A Unix epoch style timestamp in seconds or milliseconds. The timestamp must not contain non-numeric characters. | 1365465600 |
value | Integer, Float, String | Required | The value to record for this data point. It may be quoted or not quoted and must conform to the OpenTSDB value rules: Writing Data |
42.5 |
tags | Map | Required | A map of tag name/tag value pairs. At least one pair must be supplied. | {"host":"web01"} |
Name | Data Type | Description | Default | Example |
--delete | Flag | Optional flag that deletes data in any row that matches the query. See warning below. 可选标记,用于删除与查询匹配的任何行中的数据。 |
Not set | --delete |
--import | flag | Optional flag that outputs results in a text format useful for importing or storing as a backup. | Not set | --import |
START-DATE | String or Integer | Starting time for the query. This may be an absolute or relative time. See Dates and Times for details | 1h-ago | |
END-DATE | String or Integer | Optional end time for the query. If not provided, the current time is used. This may be an absolute or relative time. See Dates and Times for details | Current timestamp | 2014/01/01-00:00:00 |
query | String | One or more command line queries | sum tsd.hbase.rpcs type=put |
标签:cond 时间序列数据 result 通过 boolean poi 结构 .gz 数据源
原文地址:http://www.cnblogs.com/congshenV/p/7467464.html