The important thing in life is not how long you will live, but whom you are living with.
发布时间:2025-04-24 15:05:07
架构1、下载grafanagrafana-enterprise-11.0.0.windows-amd64.msi2、下载prometheusprometheus-2.52.0.windows-amd64.zip修改配置文件prometheus.yml,假定alertManager安装在本机3、下载alertmanageralertmanager-0.28.1.windows-amd64.zip修改配置文件 # 分组后发送告警的时间间隔 gro.........【阅读全文】
发布时间:2025-04-15 09:06:01
Clean Start 位于 CONNECT 报文的 可变报头,客户端在连接时通过这个字段指定是否复用已存在的会话,它只有 0 和 1 两个可取值。如果不存在任何与该 Client ID 关联的会话,则服务端必须创建一个全新的会话。这时,客户端使用的是旧的会话,服务端使用的是全新的会话,两边的会话状态出现了不一致。所以服务端.........【阅读全文】
发布时间:2025-04-14 16:18:04
irate(v range-vector) calculates the per-second average rate of increase of the time series in the range vector.rate计算指定时间范围内最后一个点和第一个点之间的平均值取值计算方式:(138-(100的前一个点的值))/60,以此类推......【阅读全文】
发布时间:2024-06-07 13:37:26
linux1.使用top命令查看占用cpu最高的进程id2.top -Hl pid 找出占用cpu最好的线程3.jstack pid|grep 线程的16进制查看此时线程在干什么windows1、任务管理器-性能-资源监视器,找出占用cpu最高的进程2、下载pstools,pslist -d pid 查看线程cpu使用情况3、jstack pid|findstr 线程的16进制.........【阅读全文】
发布时间:2024-06-06 17:51:18
当log报错打印java.lang.OutOfMemoryError: GC overhead limit exceeded时,可以用几个命令来分析1、使用jmap -histo:live pid >a.log2、10分钟后再执行以上命令jmap -histo:live pid >b.log比较两个导出文件中哪个类的占用内存一直在增加,则归为可疑对象如果命令执行时报 Exception in thread "main" java.lang.........【阅读全文】