摘要: 1.2.6 监控redis 使用reids_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入redis数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:31 tigerMao 阅读(45) 评论(0) 推荐(0)
摘要: 1.2.5 监控nginx 使用nginx_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入nginx数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:25 tigerMao 阅读(85) 评论(0) 推荐(0)
摘要: 1.2.4 监控java程序 使用mysqld_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入jvm数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:20 tigerMao 阅读(31) 评论(0) 推荐(0)
摘要: 1.2.3 监控mysql 使用mysqld_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入mysql 数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选 阅读全文
posted @ 2024-12-15 20:14 tigerMao 阅读(47) 评论(0) 推荐(0)
摘要: 1.2.2 监控Jmeter的压测数据 使用influxdb中的Jmeter的压测上报数据,对Jmeter压测进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入Jmeter数据采集的数据模版,可以看到有很多的模版,我们Jmeter数 阅读全文
posted @ 2024-12-15 20:07 tigerMao 阅读(35) 评论(0) 推荐(0)
摘要: 1.2 配置Dashborads 1.2.1 监控linux主机 使用node_exporter采集的数据对linux主机进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入Node Exporter 数据采集的数据模版,可以看到有很 阅读全文
posted @ 2024-12-15 19:59 tigerMao 阅读(52) 评论(0) 推荐(0)
摘要: 1.1 Data sources的配置 左侧菜单栏点击 Connections -> Data sources 打开添加数据源的项目 点击 + Add new data source 按键 开始添加数据源 1.1.1 添加 prometheus 数据源 输入prometheus对应的访问地址后,点击 阅读全文
posted @ 2024-12-15 19:43 tigerMao 阅读(25) 评论(0) 推荐(0)
摘要: 9 .安装redis_exporter 9.1 下载redis 官方下载地址:https://download.redis.io/releases/ 下载对应的redis的tar包 [root@master ~]# cd /opt/tgz/ [root@master tgz]# wget https 阅读全文
posted @ 2024-12-15 15:49 tigerMao 阅读(51) 评论(0) 推荐(0)
摘要: 8.安装nginx_exporter 8.1 安装nginx(二进制安装) 8.1.1 安装nginx的相关依赖包 [root@master ~]# yum install -y gcc-c++ zlib zlib-devel openssl openssl-devel pcre pcre-deve 阅读全文
posted @ 2024-12-15 15:44 tigerMao 阅读(782) 评论(0) 推荐(0)
摘要: 7.jxm_exporter实现对java程序的监控 7.1 下载jmx_exporter相关的jar包 官方地址:https://github.com/prometheus/jmx_exporter 官方的历史版本下载库地址:https://repo1.maven.org/maven2/io/pr 阅读全文
posted @ 2024-12-15 15:37 tigerMao 阅读(95) 评论(0) 推荐(0)
摘要: 6.安装mysqld_exporter 6.1下载mysqld_exporter的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 6.2 安装mysqld_exporter(安装了mysql的计算机需要安装) 创建存放安装包的目录(环境已经创建的可 阅读全文
posted @ 2024-12-15 15:30 tigerMao 阅读(931) 评论(0) 推荐(0)
摘要: 5. 安装influxdb 5.1下载 influxdb(合理上网) 官网下载地址:https://www.influxdata.com/downloads/ 这里我们需要的是1.X系列的版本,安装时选择1.8.10 的最新版本 系统我们选择Centos的安装方式 创建存放安装包的目录(环境已经创建 阅读全文
posted @ 2024-12-15 15:25 tigerMao 阅读(108) 评论(0) 推荐(0)
摘要: 4. 安装grafana 4.1 安装mysql57,用于grafana的数据库,默认用的SQL数据库太慢,这里使用mysql代替 [root@master ~]# cd /opt/tgz # 下载mysql源安装包 [root@master ~]# wget http://dev.mysql.co 阅读全文
posted @ 2024-12-15 15:21 tigerMao 阅读(83) 评论(0) 推荐(0)
摘要: 3. 安装node_exporter 3.1 下载node_exporter的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 3.2 安装node_exporter(不需要监控linux的计算机不安装需要的安装) 创建存放安装包的目录(环境已经创建 阅读全文
posted @ 2024-12-15 15:13 tigerMao 阅读(253) 评论(0) 推荐(0)
摘要: 2. 安装prometheus 2.1 下载prometheus的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 选择TLS的稳定版本下载 2.2 安装prometheus 创建存放安装包的目录 [root@master ~]# mkdir -p 阅读全文
posted @ 2024-12-15 15:07 tigerMao 阅读(30) 评论(0) 推荐(0)
摘要: 1. 环境准备 1.1 需要关闭对应centos7系统的防火墙 [root@centos7 ~]# systemctl stop firewalld [root@centos7 ~]# systemctl disable firewalld [root@centos7 ~]# systemctl s 阅读全文
posted @ 2024-12-15 15:00 tigerMao 阅读(16) 评论(0) 推荐(0)
摘要: 官方网站:https://github.com/buger/goreplay 1.1 安装golong的环境 goreply是golong编写,需要安装golong环境 # 通过yum进行go环境的安装 [root@master tgz]# wget https://dl.google.com/go 阅读全文
posted @ 2024-12-15 14:57 tigerMao 阅读(434) 评论(0) 推荐(0)
摘要: 下载内存分析工具地址:https://eclipse.dev/mat/downloads.phphp) 下载对应的版本,我这里使用的windows的就下载windows版本的包,下载完成后解压 配置启动时的jdk的依赖,目前1.15.0版本的需要jdk17以上,我们在启动时需要手工修改MemoryA 阅读全文
posted @ 2024-12-15 14:54 tigerMao 阅读(55) 评论(0) 推荐(0)
摘要: 下载 arthas 官方网站:https://arthas.aliyun.com/doc [root@master ~]# curl -O https://arthas.aliyun.com/arthas-boot.jar 运行 arthas 会展示当前计算机执行的java的进程,可以通过序号+en 阅读全文
posted @ 2024-12-15 14:50 tigerMao 阅读(94) 评论(0) 推荐(0)
摘要: 官方网站下载:https://visualvm.github.io/download.html 下载zip文件解压到本地后,需要修改启动对应的系统环境的jdk的地址,visualvm_2110\etc 的目录下的 visualvm.conf 文件,配置当前环境的jdkhome后保存 visualvm 阅读全文
posted @ 2024-12-15 14:47 tigerMao 阅读(63) 评论(0) 推荐(0)