![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
性能
文章平均质量分 69
疯狂的大饼
这个作者很懒,什么都没留下…
展开
-
Jvisualvm监控Tomcat以及相关参数优化
java虚拟机优化原创 2023-02-28 21:03:38 · 715 阅读 · 0 评论 -
性能测试流程及基本介绍
性能测试流程及基本介绍原创 2023-02-28 16:36:01 · 673 阅读 · 0 评论 -
Stress压力工具的部署及使用
模拟压力工具介绍原创 2023-02-28 16:26:35 · 1031 阅读 · 0 评论 -
WEB前端性能(页面+接口)
前端渲染过程及OS资源描述原创 2023-02-28 16:18:49 · 625 阅读 · 0 评论 -
Prometheus(十)集成Granfana
Granfana安装1.yum方式安装1)添加安装grafana所需的软件仓库配置文件[root@localhost ~] vi /etc/yum.repos.d/grafana.repo 根据系统版本配置相应的镜像,如下配置是centos7.x[grafana]name=grafanabaseurl=https://mirrors.tuna.tsinghua.edu.cn/grafana/yum/el7repo_gpgcheck=0enabled=1gpgcheck=02)进行y原创 2021-10-19 14:56:26 · 353 阅读 · 0 评论 -
Prometheus(九)基于DNS的服务发现
基于DNS的服务发现1)配置hosts解析,有dns可以配置dns[root@localhost ~] vi /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain639.107.250.21 prometheus.tcp.原创 2021-10-18 16:20:00 · 537 阅读 · 0 评论 -
Prometheus(八)基于Consul的服务发现
基于Consul的服务发现Consul是基于GO语言开发的开源工具,主要面向分布式,服务化的系统提供服务注册、服务发现和配置管理的功能,Consul提供服务注册/发现、健康检查、Key/Value存储、多数据中心和分布式一致性保证等功能。之前我们通过Prometheus实现监控,当新增一个Target时,需要变更服务器上的配置文件,即使使用file_sd_configs配置,也需要登录服务器修改对应Json文件,会非常麻烦,不过Prometheus官方支持多种自动服务发现的类型,其中就支持...原创 2021-10-18 14:35:03 · 511 阅读 · 0 评论 -
Prometheus(七)配置服务发现
什么是服务发现https://editor.csdn.net/md/?articleId=120808227https://zhuanlan.zhihu.com/p/34332329JSON格式文件的服务发现:[root@localhost ~] cd /usr/local/prometheus/[root@localhost prometheus] mkdir targets[root@localhost prometheus] vi targets/dev_node.json [ {原创 2021-10-17 11:13:54 · 302 阅读 · 0 评论 -
Prometheus(六)黑盒监控
黑盒监控(blackbox_exporter)之前介绍的对exporter的使用可以称为“白盒监控”,既需要把对应的exporter程序安装到被监控的目标主机上,从而实现对主机资源及其状态的数据采集工作。黑盒监控,blackbox_exporter无须安装在被监控的目标环境中,用户只需要将其安装在于promethenus和被监控目标互通的环境中,通过HTTP、HTTPS、DNS、TCP、ICMP等方式对网络进行探测监控,还可以探测SSL证书过期时间blackbox_exporter下载地址:https原创 2021-10-15 17:07:47 · 2439 阅读 · 1 评论 -
Prometheus(五)部署Nginx
前置准备nginx-vts-exporter下载地址:https://github.com/hnlq715/nginx-vts-exporter/releasesNginx下载地址:http://nginx.org/download/nginx-module-vts下载地址:https://github.com/vozlt/nginx-module-vts安装nginx-vts-exporter之前,nginx必须安装第三方的nginx virtual host traffic status模块,提原创 2021-10-15 14:35:22 · 973 阅读 · 0 评论 -
Prometheus(四)部署Redis服务
1)安装redis服务[root@localhost ~] yum -y install redis[root@localhost ~] systemctl restart redis2)配置redis[root@localhost ~] redis-cli#设置redis密码127.0.0.1:6379> config set requirepass 123456OK3)安装redis_exporter[root@localhost opt] ll redis_exporter原创 2021-10-15 11:09:06 · 159 阅读 · 0 评论 -
Prometheus(三)部署Mariadb数据库
1)安装数据库:[root@localhost ~] yum -y install mariadb-server[root@localhost ~] systemctl restart mariadb2)创建数据库授权用户[root@localhost ~] mysqlMariaDB [(none)]> create user 'mysqld_exporter'@'localhost' identified by '123456';MariaDB [(none)]> grant p原创 2021-10-15 10:49:54 · 316 阅读 · 0 评论 -
Prometheus(二)配置node_exporter监控
#上传软件包[root@localhost ~] ll /opt/node_exporter-0.18.1.linux-amd64.tar.gz -rw-r--r--. 1 root root 8083296 May 12 20:21 /opt/node_exporter-0.18.1.linux-amd64.tar.gz#解压缩[root@localhost opt] tar -zxvf node_exporter-0.18.1.linux-amd64.tar.gz[root@localhos原创 2021-10-14 16:04:12 · 392 阅读 · 0 评论 -
Prometheus(一)部署环境
ExecStart=/usr/local/prometheus/prometheus #启动运行prometheus程序所在的路径--config.file=/usr/local/prometheus/prometheus.yml #指定prometheus.yml配置文件路径--storage.tsdb.path="/usr/local/prometheus/data" #指定监控指标数据存储的路径--storage.tsdb.retention=15d #历史数据最原创 2021-10-14 14:31:51 · 230 阅读 · 0 评论