当前位置:网站首页>prometheus监控nacos
prometheus监控nacos
2022-07-30 05:49:00 【大新新大浩浩】
prometheus监控minio
项目使用了nacos,所以记录一下打开prometheus-nacos监控的方式。
nacos官方prometheus监控手册:https://nacos.io/zh-cn/docs/monitor-guide.html
环境列表
- nacos版本:2.0.2
- prometheus版本:2.37.0
- granafa版本:9.0.4
- nacos-dashboard-ID:13221
检查metrics数据
地址:http://IP:8848/nacos/actuator/prometheus
prometheus-job配置
新增job配置,配置labels可以快速选择到对应的nacos集群
prometheus中的配置
- job_name: 'nocas1072'
metrics_path: '/nacos/actuator/prometheus'
static_configs:
- targets: ['192.168.107.2:8848']
labels:
instance: nacos1072
import dashboard
导入13221 nacos专用dashboard后,配置variables,配置好之后,当前面板就只会展示nacos1072这个实例的监控信息了。
granafa-dashboard数据展示
边栏推荐
猜你喜欢
随机推荐
测试第二题
instantDrag for Maya脚本 (移动模型时沿目标模型移动)
JSP自定义标签
基于STM32F103的消防系统之火焰传感器
用于标记蛋白质和抗体的Biotin-LC-Sulfo-NHS|CAS:191671-46-2
02-Cycript的使用
D-Desthiobiotin Amine_D-脱硫生物素-胺相关的产品性质
牛客:删除公共字符
04-packing and unpacking
Unity Gizmos扩展:线框圆
进制详解(二进制、八进制、十进制、十六进制详解及相互转换,位运算)
单片机之流水灯
多线程进阶(CountDownLatch,死锁,线程安全集合类)
mysql数据库怎么设置手动提交
【Untitled】
rsync使用方法之坑
Application of graph computing in network security analysis
测试开发工程师成长日记018 - 测试面试必备题记录(持续更新)
网络协议01 - 基础概念
Rapidly develop GraphScope graph analysis applications