influxDB+telefraf+grafana

 此貼本身記錄html

下載grafana

https://grafana.com/grafana/download?platform=windowslinux

從官網下載influxDB\telefraf的方法 :

 

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

用的

 

grafana安裝

而後將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腳本跑完纔有表數據

 

 http://www.javashuo.com/article/p-eowfucdc-eg.html

本站公眾號
   歡迎關注本站公眾號,獲取更多信息