安装
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.3.2-1.x86_64.rpm
sudo yum localinstall grafana-4.3.2-1.x86_64.rpm
配置文件
/etc/grafana/grafana.ini
启动
service grafana-server start
开机启动
sudo systemctl enable grafana-server.service
设置template依赖选择参数
$topic SHOW TAG VALUES WITH KEY = "topic"
$host SHOW TAG VALUES WITH KEY = "host" WHERE "topic" =~ /^$topic$/