随笔分类 -  监控系统

摘要:1. prometheus-监控docker服务器 prometheus-监控docker服务器 cAdvisor(Container Advisor):用于收集正在运行的容器资源使用和性能信息。 项目地址:https://github.com/google/cadvisor docker部署cAd 阅读全文
posted @ 2022-12-29 10:03 七月流星雨 阅读(1110) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-监控系统服务的运行状态 添加系统服务监控的命令 /usr/local/node_exporter/node_exporter --web.config=/usr/local/node_exporter/config.yml --collector.systemd --co 阅读全文
posted @ 2022-12-29 09:55 七月流星雨 阅读(561) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-添加监控linux服务器 prometheus添加监控linux服务器 node_exporter:用于监控Linux系统的指标采集器。 常用指标: CPU 内存 硬盘 网络流量 文件描述符 系统负载 系统服务 数据接口:http://IP:9100 使用文档:https 阅读全文
posted @ 2022-12-28 17:19 七月流星雨 阅读(1305) 评论(0) 推荐(1) 编辑
摘要:1. grafana-连接prometheus添加数据可视化 grafana添加prometheus数据可视化 Grafana是一个开源的度量分析和可视化系统。 部署文档:https://grafana.com/grafana/download 访问地址:http://IP:3000 用户名/密码: 阅读全文
posted @ 2022-12-28 17:15 七月流星雨 阅读(268) 评论(0) 推荐(0) 编辑
摘要:1. grafana-部署对数据可视化 grafana-部署 Grafana是一个开源的度量分析和可视化系统。 部署文档:https://grafana.com/grafana/download 访问地址:http://IP:3000 用户名/密码:admin/admin#第一次需要重置密码 这里使 阅读全文
posted @ 2022-12-28 17:13 七月流星雨 阅读(139) 评论(0) 推荐(0) 编辑
摘要:1. Prometheus-如何监控服务 Prometheus-如何监控服务 自己编写metrics接口,遵循数据模型 使用社区维护的exporter进行维护 如何监控服务 如果要想监控,前提是能获取被监控端指标数据,并且这个数据格式必须遵循Prometheus数据模型,这样才能识别和采集,一般使用 阅读全文
posted @ 2022-12-28 17:12 七月流星雨 阅读(106) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-监控指标数据模块 数据模型: Prometheus将所有数据存储为时间序列; 具有相同度量名称以及标签属于同一个指标; 每个时间序列都由度量标准名称和一组键值对(称为标签)唯一标识,通过标签查询指定指标。 指标格式: <metric name>{<label name>= 阅读全文
posted @ 2022-12-28 17:11 七月流星雨 阅读(65) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-添加被监控配置文件详解 目标(targets):被监控端 实例(Instances):每个被监控端称为实例 作业(Job):具有相同目标的实例集合称为作业 添加配置文件示例 scrape_configs: - job_name: 'prometheus' static_c 阅读全文
posted @ 2022-12-28 17:08 七月流星雨 阅读(216) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-主配置文件详解 主机配置文件详解 [root@iZj6cbgktk3zjpge312vq2Z prometheus]# cat prometheus.yml # my global config # 全局配置 global: scrape_interval: 15s # 阅读全文
posted @ 2022-12-05 13:59 七月流星雨 阅读(351) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-部署 部署方式 二进制部署 https://prometheus.io/docs/prometheus/latest/getting_started/ Docker部署 https://prometheus.io/docs/prometheus/latest/instal 阅读全文
posted @ 2022-12-05 13:57 七月流星雨 阅读(286) 评论(0) 推荐(0) 编辑
摘要:1. prometheus-介绍 Prometheus(普罗米修斯)是一个最初在SoundCloud上构建的监控系统。自2012年成为社区开源项目,拥有非常活跃的开发人员和用户社区。为强调开源及独立维护,Prometheus于2016年加入云原生云计算基金会(CNCF),成为继Kubernetes之 阅读全文
posted @ 2022-12-05 13:55 七月流星雨 阅读(82) 评论(0) 推荐(0) 编辑

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