Grafana是用于可视化大型测量数据的开源程序,他提供了强大和优雅的方式去创建、共享、浏览数据。dashboard中显示了你不同metric数据源中的数据。
Grafana 适用场景以及基本特征:
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.1.5_amd64.deb
sudo dpkg -i grafana-enterprise_9.1.5_amd64.deb
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-9.1.5-1.x86_64.rpm
sudo yum install grafana-enterprise-9.1.5-1.x86_64.rpm
https://dl.grafana.com/enterprise/release/grafana-enterprise-9.1.5.windows-amd64.msi
curl -O https://dl.grafana.com/enterprise/release/grafana-enterprise-9.1.5.darwin-amd64.tar.gz
tar -zxvf grafana-enterprise-9.1.5.darwin-amd64.tar.gz
docker run -d --name=grafana -p 3000:3000 grafana/grafana-enterprise
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.1.5_arm64.deb
sudo dpkg -i grafana-enterprise_9.1.5_arm64.deb
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-rpi_9.1.5_armhf.deb
sudo dpkg -i grafana-enterprise-rpi_9.1.5_armhf.deb
Ubuntu and Debian(ARMv7)
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.1.5_armhf.deb
sudo dpkg -i grafana-enterprise_9.1.5_armhf.deb
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-9.1.5-1.aarch64.rpm
sudo yum install grafana-enterprise-9.1.5-1.aarch64.rpm
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-9.1.5-1.armhfp.rpm
sudo yum install grafana-enterprise-9.1.5-1.armhfp.rpm
访问首页:Home - Dashboards - Grafana
- 账户:admin
- 密码:admin
登陆之后选择,左侧Configuration里面的DataSources
选择添加数据源:
选择需要添加的数据源信息,之后按照页面参数进行配置安装即可。最后点击保存,出现下图则成功添加数据源。
点击Grafana首页侧边栏,Create DashBoard
创建仪表盘
进入官网社区面板:Dashboards | Grafana Labs
选择模板,复制模板ID
选择Grafana左侧导入模板信息,输入JSON或者模板id(需要可以访问官网)
设置一下几个配置: