SimpleDao
grafana安装使用
2019-05-06, 访问数: 922

安装

  1. wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.3.2-1.x86_64.rpm
  2. 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. $topic SHOW TAG VALUES WITH KEY = "topic"
  2. $host SHOW TAG VALUES WITH KEY = "host" WHERE "topic" =~ /^$topic$/