09 2024 档案

摘要:https://prometheus.io/docs/prometheus/latest/querying/basics/ sum by(countryCode, appName, url) (increase(app_invoke_cost_time_seconds{env="prod", cou 阅读全文
posted @ 2024-09-05 15:51 kunchengs 阅读(154) 评论(0) 推荐(0) 编辑
摘要:安装 https://prometheus.io/download/ doc https://prometheus.io/docs/guides/node-exporter/ mkdir /usr/local/prometheus && cd /usr/local/prometheus wget h 阅读全文
posted @ 2024-09-05 15:50 kunchengs 阅读(26) 评论(0) 推荐(0) 编辑
摘要:pom引入 org.springframework.boot spring-boot-starter-actuator io.micrometer micrometer-core io.micrometer micrometer-registry-prometheus 1.5.6 yaml配置 ma 阅读全文
posted @ 2024-09-05 15:48 kunchengs 阅读(97) 评论(0) 推荐(0) 编辑
摘要:实现loki 采集error日志,出现error 日志,告警。 1.修改Loki配置文件 在loki-local-config.yml中添加Alertmanager的配置,包括告警规则存储路径、Alertmanager的URL等。例如: ruler: enable_api: true enable_ 阅读全文
posted @ 2024-09-05 15:43 kunchengs 阅读(250) 评论(0) 推荐(0) 编辑
摘要:文档参考 https://blog.51cto.com/u_16213620/7782631 github官网地址 https://github.com/grafana/loki?tab=readme-ov-file 各种安装方式,我们选择locally方式 https://grafana.com/ 阅读全文
posted @ 2024-09-05 15:40 kunchengs 阅读(248) 评论(0) 推荐(0) 编辑
摘要:PrometheusAlert https://blog.csdn.net/weixin_49566876/article/details/128930481 PrometheusAlert官网: https://github.com/feiyu563/PrometheusAlert 点击查看代码 阅读全文
posted @ 2024-09-05 15:34 kunchengs 阅读(98) 评论(0) 推荐(0) 编辑
摘要:https://prometheus.io/download/#alertmanager https://github.com/prometheus/alertmanager 介绍说明 https://blog.csdn.net/weixin_42171272/article/details/139 阅读全文
posted @ 2024-09-05 15:31 kunchengs 阅读(37) 评论(0) 推荐(0) 编辑
摘要:这是prometheus告警规则配置,实际告警要结合alertmanager使用,请看下一篇文章。 rule https://samber.github.io/awesome-prometheus-alerts/rules jvm案例 wget https://raw.githubuserconte 阅读全文
posted @ 2024-09-05 15:27 kunchengs 阅读(23) 评论(0) 推荐(0) 编辑
摘要:2024-09-05记录 安装下载 https://prometheus.io/download https://www.cnblogs.com/ExMan/p/12567247.html 创建目录 mkdir /usr/local/prometheus 进入目录 cd /usr/local/pro 阅读全文
posted @ 2024-09-05 15:23 kunchengs 阅读(29) 评论(0) 推荐(0) 编辑

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