09 2022 档案
摘要:1,在build.xml文件启动脚本中定义需要Jenkins传给Jmeter的参数 <target name="test"> 23 <taskdef name="jmeter" classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTas
阅读全文
摘要:Jmeter + ANT ANT中配置Jmeter 1 将jmeter extras目录下的ant-jmeter-1.1.1.jar 文件拷贝到ant安装目录下的lib文件夹中 cp ant-jmeter-1.1.1.jar /app/ant/apache-ant-1.10.12/lib/ 2, 在
阅读全文
摘要:Jenkins安装:https://www.cnblogs.com/chenchengzi/p/15823805.html Jmeter安装:https://www.cnblogs.com/chenchengzi/p/15823808.html ant 安装: 1 下载安装 [下载地址](http:
阅读全文
摘要:1,创建Topic 2,往Topic写入数据 命令:kafka-producer-perf-test --topic ck_test111 --num-records 1000 --record-size 2000 --throughput 1000 --producer-props bootstr
阅读全文
摘要:服务器监控模板:11074 docker监控模板:193 grafana 模板 4701 监控VM mysql 监控模板 7362 redis监控 763
阅读全文
摘要:1,查看java进程 ps -ef|grep java 2,人工通过执行指令,直接生成当前JVM的dump文件 jmap -dump:format=b,file=/home/app/testdump.hprof 6218 其中6218是JVM的当前进程号 3,通过 jdk bin目录下的 jv.ex
阅读全文
摘要:1,安装cAdvisor 一 、拉取cAdvisor镜像 docker pull google/cadvisor 2,安装镜像 docker run -d \ --volume=/:/rootfs:ro \ --volume=/var/run:/var/run:ro \ --volume=/sys:
阅读全文
摘要:1,安装grafana:https://www.cnblogs.com/chenchengzi/p/16689475.html 2,安装Prometheus:https://www.cnblogs.com/chenchengzi/p/16689466.html 3,安装cAdvisor:https:
阅读全文
摘要:gitlab搭建:https://zhuanlan.zhihu.com/p/448198736 jenkins搭建: https://www.cnblogs.com/chenchengzi/articles/15823805.html Prometheus安装:https://www.cnblogs
阅读全文
摘要:在被监控的服务器下下载 wget https://github.com/prometheus/node_exporter/releases/download/v1.1.2/node_exporter-1.1.2.linux-amd64.tar.gz # 解压安装 tar -xvf node_expo
阅读全文
摘要:下载文件 wget https://dl.grafana.com/enterprise/release/grafana-enterprise-9.0.7.linux-amd64.tar.gz 然后上传到服务器进行解压 tar -zxvf grafana-enterprise-9.0.7.linux-
阅读全文
摘要:下载文件 wget https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.linux-amd64.tar.gz 解压并配置软链接 rm -rf ./prometheus-2.28.1.
阅读全文