1.背景
传统的数据可视化工具展示的都是折线图,是否有一种更直观的方式,去展示数据;本文将介绍Grafana的Table Panel,将数据用表格展示,当数据在不同数值区间内,会使用不同颜色填充表格,能迅速的判断当前数据的状态。
2.实现
数据可视化:
Grafana:https://github.com/grafana/grafana(依赖:GO 1.5,NodeJS 需自行安装)
数据源:
InfluxDB
2-1.安装数据源
Grafana支持的数据源有:Graphite,Elasticsearch,CloudWatch,InfluxDB,OpenTSDB,KairosDB,Prometheus。
本文使用InfluxDB:时序化的数据库
An open source time-series database designed for high-performance writes and compact disk storage. Supports open source high-availability architectures and native clustering is available through an Influx Enterprise subscription.
安装wiki:https://in