摘要:监控指标Kubernetes本身监控•Node资源利用率•Node数量•Pods数量(Node)•资源对象状态Pod监控•Pod数量(项目)•容器资源利用率•应用程序 监控指标 具体实现 举例Node资源利用率 node-exporter 节点CPU,内存利用率Pod资源利用率 cAdvisor 容
阅读全文
摘要:Prometheus添加被监控端支持两种方式:•静态配置:手动配置•服务发现:动态发现需要监控的Target实例 支持服务发现的来源:•azure_sd_configs•consul_sd_configs•dns_sd_configs•ec2_sd_configs•openstack_sd_conf
阅读全文
摘要:mysql_exporter:用于收集MySQL性能信息。监听端口:9104 项目地址: https://prometheus.io/download/#mysqld_exporter https://github.com/prometheus/mysqld_exporter 使用docker 运行
阅读全文
摘要:监控Docker服务器 cAdvisor(Container Advisor):用于收集正在运行的容器资源使用和性能信息。项目地址:https://github.com/google/cadvisor Docker部署cAdvisor:前提主机安装了dockerdocker run -d \--vo
阅读全文
摘要:Grafana是一个开源的度量分析和可视化系统 部署文档:https://grafana.com/grafana/download cd /opt/monitor && wget http://dl.grafana.com/oss/release/grafana-8.0.3.linux-amd64.
阅读全文
摘要:Prometheus 如何监控服务? 如果要想监控,前提是能获取被监控端指标数据,并且这个数据格式必须遵循Prometheus数据模型,这样才能识别和采集,一般使用exporter提供监控指标数据。 exporter列表:https://prometheus.io/docs/instrumentin
阅读全文
摘要:Prometheus 介绍 Prometheus(普罗米修斯)是一个最初在SoundCloud上构建的监控系统。自2012年成为社区开源项目,拥有非常活跃的开发人员和用户社区。为强调开源及独立维护,Prometheus于2016年加入云原生云计算基金会(CNCF),成为继Kubernetes之后的第
阅读全文