摘要: 配置静态网络 sudo cat /etc/netplan/00-installer-config.yml network: version: 2 ethernets: ens33: addresses: - "10.9.96.246/24" nameservers: addresses: - 223 阅读全文
posted @ 2026-05-14 14:52 追梦$少年 阅读(8) 评论(0) 推荐(0)
摘要: 配置minio 采集指标 定义别名 mc alias set 自定义别名 http://172.16.0.100:9000 账号 密码 配置采集资源 MinIO 服务器 mc admin prometheus generate 自定义的别名 节点 mc admin prometheus genera 阅读全文
posted @ 2026-05-12 15:00 追梦$少年 阅读(8) 评论(0) 推荐(0)
摘要: 部署rocketmq-exporter services: rocketmq-exporter: image: apache/rocketmq-exporter container_name: rocketmq-exporter restart: always ports: - "5557:5557 阅读全文
posted @ 2026-05-08 16:06 追梦$少年 阅读(8) 评论(0) 推荐(0)
摘要: 创建 监控用户权限 CREATE USER 'prom_exporter'@'%' IDENTIFIED BY '你的强密码'; GRANT PROCESS, REPLICATION CLIENT, SELECT ON information_schema.* TO 'prom_exporter'@ 阅读全文
posted @ 2026-04-20 16:37 追梦$少年 阅读(6) 评论(0) 推荐(0)
摘要: 一、监控Spring Boot应用 下面我们以Spring Boot 为例,演示Prometheus如何监控应用系统。 1.1 项目环境: Spring Boot 2.3.7.release micrometer-registry-prometheus 1.5.9 需要注意Spring Boot 和 阅读全文
posted @ 2026-04-14 17:18 追梦$少年 阅读(11) 评论(0) 推荐(0)
摘要: blackbox_exporter 安装 tar -xf blackbox_exporter-0.28.0.linux-amd64.tar.gz mv blackbox_exporter-0.28.0.linux-amd64/blackbox_exporter /usr/local/bin/blac 阅读全文
posted @ 2026-04-10 17:32 追梦$少年 阅读(7) 评论(0) 推荐(0)
摘要: 编译geoip2_module 安装模块 以容器案例 cat dockerfile FROM nginx:1.24.0 RUN apt-get update && apt-get install -y libmaxminddb0 libmaxminddb-dev mmdb-bin git gcc m 阅读全文
posted @ 2026-04-03 14:36 追梦$少年 阅读(8) 评论(0) 推荐(0)
摘要: 安装elasticsearch_exporter services: elasticsearch-exporter: container_name: ops-elasticsearch-exporter image: quay.io/prometheuscommunity/elasticsearch 阅读全文
posted @ 2026-03-30 09:44 追梦$少年 阅读(9) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2026-03-26 14:33 追梦$少年 阅读(5) 评论(0) 推荐(0)
摘要: 下载 redis_exporter mkdir -p /data/monitor cd /data/monitor # 下载二进制包(适配 Linux amd64 架构) wget https://github.com/oliver006/redis_exporter/releases/downlo 阅读全文
posted @ 2026-03-18 16:09 追梦$少年 阅读(6) 评论(0) 推荐(0)