此贴本身记录html
https://grafana.com/grafana/download?platform=windowslinux
https://blog.csdn.net/v6543210/article/details/86934941windows
还有解压方式spa
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.9.0~rc2_windows_amd64.zip
unzip telegraf-1.9.0~rc2_windows_amd64.zip.net
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.10.4_linux_amd64.tar.gz
tar xf telegraf-1.10.4_linux_amd64.tar.gz命令行
https://dl.influxdata.com/influxdb/releases/influxdb-1.7.6_windows_amd64.ziporm
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.6_linux_amd64.tar.gz
tar xvfz influxdb-1.7.6_linux_amd64.tar.gzserver
一开始是解压在D:\software\performance\windows\influxdb-1.7.3-1htm
修改了配置文件,在performance目录下新建了目录blog
从新启动,出现问题 No connection could be made because the target machine actively refused it
而后 本身把\windows\influxdb-1.7.3-1目录下文件都放到performance\influxdb下
set HOME=D:\software\performance\windows\influxdb-1.7.3-1
influxd.exe -config influxdb.conf
可视化界面参考:https://blog.csdn.net/qq_35981283/article/details/84068053
用的
而后将conf文件夹中的sample.ini在原地复制一份,并更名为custom.ini。咱们能够对custom.ini进行编辑。
默认grafana的端口是3000,这个端口须要Windows的权限,咱们能够在custom.ini对其进行修改。将custom.ini中的http_port取消注释并修改,我改为了8090,这个端口是不须要Windows额外的权限。
如今咱们就可运行它了,直接运行bin文件夹中的grafana-server.exe,双击grafana-server.exe运行或者命令行运行,最好是用命令行的方式运行(start+空格+要运行的程序的绝对路径和程序名)。
而后打开localhost:8090(本身改的端口)
默认用户名密码都是admin
配置jmeter收集数据
jmeter脚本跑完才有表数据