摘要: 1. Micrometer简介 Micrometer为Java平台上的性能数据收集提供了一个通用的API,它提供了多种度量指标类型(Timers、Guauges、Counters等),同时支持接入不同的监控系统,例如Influxdb、Graphite、Prometheus等。可以通过Micromet 阅读全文
posted @ 2023-03-03 22:31 BUG弄潮儿 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 1.prometheus接入springboot prometheus安装后,在安装目录有一个默认的配置文件prometheus.yml # my global config global: scrape_interval: 15s # Set the scrape interval to ever 阅读全文
posted @ 2023-03-03 22:30 BUG弄潮儿 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1 安装prometheus 1.1 下载prometheus 下载地址 https://prometheus.io/download/#prometheus 下载 wget https://github.com/prometheus/prometheus/releases/download/v2. 阅读全文
posted @ 2023-03-03 22:29 BUG弄潮儿 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.创建项目 pom.xml引入相关依赖 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http 阅读全文
posted @ 2023-03-03 22:28 BUG弄潮儿 阅读(510) 评论(0) 推荐(0) 编辑