02 2021 档案

摘要:https://www.cnblogs.com/xrq730/p/10963689.html https://www.cnblogs.com/kingszelda/p/8988505.html 阅读全文
posted @ 2021-02-26 15:38 rudolf_lin 阅读(33) 评论(0) 推荐(0) 编辑
摘要:prometheus客户端使用和原理 先看这个有个印象 https://www.cnblogs.com/awaking/p/14448070.html skywalking的接入 其实就是应用本身抓取指标, 然后依据http-server暴露端口,提供web服务,供prometheus抓取 以下代码 阅读全文
posted @ 2021-02-26 11:27 rudolf_lin 阅读(5762) 评论(0) 推荐(0) 编辑
摘要:指标接入方式 官方源码库 https://github.com/prometheus/client_java target自己采集指标,暴露出端口, prometheusserver主动拉取数据 target主动推送到pushgateway, prometheus主动去pushgateway拉取 t 阅读全文
posted @ 2021-02-25 17:12 rudolf_lin 阅读(7145) 评论(1) 推荐(1) 编辑
摘要:## 要点 官方文档 https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/ https://prometheus.io/docs/alerting/latest/alertmanager/ 从promet 阅读全文
posted @ 2021-02-25 11:17 rudolf_lin 阅读(285) 评论(0) 推荐(0) 编辑
摘要:https://mp.weixin.qq.com/s?__biz=MzI4MTY5NTk4Ng==&mid=2247489100&idx=1&sn=eab291eb345c074114d946b732e037eb&source=41#wechat_redirect 阅读全文
posted @ 2021-02-24 09:53 rudolf_lin 阅读(57) 评论(0) 推荐(0) 编辑
摘要:知识点备忘 零散知识点 tag的value必须不能为空 prometheus的指标类型一共只有四种:Counter(计数器)、Gauge(仪表盘)、Histogram(直方图)、Summary(摘要) 指标的描述 https://blog.csdn.net/qq_26531719/article/d 阅读全文
posted @ 2021-02-24 09:51 rudolf_lin 阅读(509) 评论(0) 推荐(0) 编辑
摘要:指标收集参考 https://www.cnblogs.com/throwable/p/10708351.html https://blog.csdn.net/IT___zhao/article/details/107596427 主要指标和实现方式 ThreadPoolExecutor中提供的度量数 阅读全文
posted @ 2021-02-23 14:47 rudolf_lin 阅读(1881) 评论(0) 推荐(0) 编辑
摘要:参考https://blog.csdn.net/aitangyong/article/details/54137067 @FunctionalInterface标记在接口上,“函数式接口”是指仅仅只包含一个抽象方法的接口. 1、该注解只能标记在"有且仅有一个抽象方法"的接口上。 2、JDK8接口中的 阅读全文
posted @ 2021-02-23 14:06 rudolf_lin 阅读(236) 评论(0) 推荐(0) 编辑
摘要:指标部分 实时查看业务线程池的状态,绘制曲线. 注意业务线程池最好是只有几个 , 并且不销毁, 而不是在一次请求中创建线程池, 使用完后销毁. 这种逻辑的话 ,就要防止内存泄露, 指标监控也没有什么意义. mysql监控, 连接池监控 链路部分 对业务线程池加入追踪 阅读全文
posted @ 2021-02-23 13:38 rudolf_lin 阅读(25) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示