grafana安装使用

安装

1
2
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

配置文件

1
/etc/grafana/grafana.ini

启动

1
service grafana-server start

开机启动

1
sudo systemctl enable grafana-server.service

设置template依赖选择参数

1
2
$topic    SHOW TAG VALUES WITH KEY = "topic"    
$host SHOW TAG VALUES WITH KEY = "host" WHERE "topic" =~ /^$topic$/
文章目录
  1. 1. 安装
  2. 2. 配置文件
  3. 3. 启动
  4. 4. 开机启动
  5. 5. 设置template依赖选择参数