欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
OpenTSDB
来自开放百科 - 灰狐
				
								
				(版本间的差异)
				
																
				
				
								
小 (→安装)  | 
			小 (→图集)  | 
			||
| (未显示1个用户的9个中间版本) | |||
| 第4行: | 第4行: | ||
==安装==  | ==安装==  | ||
| − | + | 在一个CDH5或HDP2.3的虚拟机上安装OpenTSDB  | |
  sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime  |   sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime  | ||
  sudo yum install git automake gnuplot  |   sudo yum install git automake gnuplot  | ||
| 第10行: | 第10行: | ||
  cd opentsdb  |   cd opentsdb  | ||
  ./build.sh  |   ./build.sh  | ||
| + |  env COMPRESSION=none HBASE_HOME=/usr/lib/hbase ./src/create_table.sh 或  | ||
  env COMPRESSION=none HBASE_HOME=/usr/lib/ams-hbase ./src/create_table.sh  |   env COMPRESSION=none HBASE_HOME=/usr/lib/ams-hbase ./src/create_table.sh  | ||
  mkdir /tmp/tsd  |   mkdir /tmp/tsd  | ||
  ./build/tsdb tsd --port=4242 --staticroot=build/staticroot/ --cachedir=/tmp/tsd/  |   ./build/tsdb tsd --port=4242 --staticroot=build/staticroot/ --cachedir=/tmp/tsd/  | ||
  http://127.0.0.1:4242  |   http://127.0.0.1:4242  | ||
| − | + | HDP2.3可能出现的问题:  | |
  ERROR [main-EventThread] HBaseClient: The znode for the -ROOT- region doesn't exist!  |   ERROR [main-EventThread] HBaseClient: The znode for the -ROOT- region doesn't exist!  | ||
==指南==  | ==指南==  | ||
| + | |||
| + | ==存储==  | ||
| + | [http://docs.huihoo.com/opentsdb/2.3/user_guide/backends/index.html OpenTSDB支持多种后端存储]:  | ||
| + | *HBase  | ||
| + | *[[BigTable|Bigtable]]  | ||
| + | *[[Apache Cassandra|Cassandra]]  | ||
==项目==  | ==项目==  | ||
| − | *[[  | + | *[https://bosun.org/ Bosun]  | 
| + | [http://docs.huihoo.com/opentsdb/2.3/resources.html 更多项目>>>]  | ||
| + | |||
| + | ==文档==  | ||
| + | *[https://docs.huihoo.com/apache/hbase/hbasecon/asia2018/HBase-and-OpenTSDB-Practices-at-Huawei.pdf HBase and OpenTSDB Practices at Huawei]  | ||
==用户==  | ==用户==  | ||
| 第33行: | 第44行: | ||
<gallery>  | <gallery>  | ||
image:opentsdb-architecture.png|架构  | image:opentsdb-architecture.png|架构  | ||
| + | image:OpenTSDB-Table-Design.png|表设计  | ||
| + | image:Time-Series-Storage-In-HBase.png|时序存储  | ||
| + | image:hbase-master-tsdb-tables.png|TSDB表  | ||
| + | image:opentsdb-hbase-regions.png|Regions  | ||
| + | image:opentsdb-stats.png|Stats  | ||
| + | image:opentsdb-logs.png|Logs  | ||
| + | image:opentsdb-file-directory.png|文件目录  | ||
</gallery>  | </gallery>  | ||
| 第38行: | 第56行: | ||
*[http://opentsdb.net/ OpenTSDB官网]  | *[http://opentsdb.net/ OpenTSDB官网]  | ||
*[https://github.com/OpenTSDB/opentsdb OpenTSDB @ GitHub]  | *[https://github.com/OpenTSDB/opentsdb OpenTSDB @ GitHub]  | ||
| + | *[http://docs.huihoo.com/opentsdb/ OpenTSDB文档]  | ||
*[http://www.searchtb.com/2012/07/opentsdb-monitoring-system.html OpenTSDB监控系统的研究和介绍]  | *[http://www.searchtb.com/2012/07/opentsdb-monitoring-system.html OpenTSDB监控系统的研究和介绍]  | ||
*[http://www.cnblogs.com/oneapm/p/4901099.html 数据聚合 & 分组:新一代系统监控的核心功能]  | *[http://www.cnblogs.com/oneapm/p/4901099.html 数据聚合 & 分组:新一代系统监控的核心功能]  | ||
| 第43行: | 第62行: | ||
[[category:monitoring]]  | [[category:monitoring]]  | ||
[[category:HBase]]  | [[category:HBase]]  | ||
| + | [[category:Internet of Things]]  | ||
2018年10月12日 (五) 13:15的最后版本
OpenTSDB 项目提供了一个时间序列数据库,该数据库用来存储由外部代理程序收集的服务器和服务的各项监控指标(metric),所有数据都存储在HBase中。
OpenTSDB:一个开源监控系统,它使用Apache HBase存储所有的时序(无须采样)来构建一个分布式、可伸缩的时间序列数据库。它支持秒级数据采集所有metrics,支持永久存储,可以做容量规划,并很容易的接入到现有的报警系统里。OpenTSDB可以从大规模的集群(包括集群中的网络设备、操作系统、应用程序)中获取相应的metrics并进行存储、索引以及服务,从而使得这些数据更容易让人理解,如web化,图形化等。
目录 | 
[编辑] 安装
在一个CDH5或HDP2.3的虚拟机上安装OpenTSDB
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime sudo yum install git automake gnuplot git clone https://github.com/OpenTSDB/opentsdb.git cd opentsdb ./build.sh env COMPRESSION=none HBASE_HOME=/usr/lib/hbase ./src/create_table.sh 或 env COMPRESSION=none HBASE_HOME=/usr/lib/ams-hbase ./src/create_table.sh mkdir /tmp/tsd ./build/tsdb tsd --port=4242 --staticroot=build/staticroot/ --cachedir=/tmp/tsd/ http://127.0.0.1:4242
HDP2.3可能出现的问题:
ERROR [main-EventThread] HBaseClient: The znode for the -ROOT- region doesn't exist!
[编辑] 指南
[编辑] 存储
[编辑] 项目
[编辑] 文档
[编辑] 用户
[编辑] 图集
[编辑] 链接
	分享您的观点