Kubelet监控指标说明
Probe路径
- 含义:kubelet以及kubelet监控的Pod的存活性
- 请求路径:“/metrics/probes”
- 指标
| 名称 | 类型 | 含义 | 
|---|---|---|
| up | Gauge | 服务是否存活 | 
| prober_probe_total | Counter | 按结果计算容器的活动探测、就绪探测或启动探测的累计数目以及存活性结果 | 
Metrics路径
- 含义:kubelet自身指标统计
- 请求路径:“/metrics”
- 指标
| 名称 | 类型 | 含义 | 
|---|---|---|
| kubelet_running_pods | Gauge | kubelet上运行pod的数目 | 
| kubelet_started_containers_errors_total | Counter | 启动容器时累计错误数 | 
cadvisor路径
- 含义:容器和硬件级别监控
- 请求路径:“/metrics/cadvisor”
容器指标
| 名称 | 类型 | 含义 | 单位 | 组件 | additional build flag | 
|---|---|---|---|---|---|
| container_accelerator_duty_cycle | Gauge | Percent of time over the past sample period during which the accelerator was actively processing | percentage | accelerator | |
| container_accelerator_memory_total_bytes | Gauge | Total accelerator memory | bytes | accelerator | |
| container_accelerator_memory_used_bytes | Gauge | Total accelerator memory allocated | bytes | accelerator | |
| container_blkio_device_usage_total | Counter | Blkio device bytes usage | bytes | diskIO | |
| container_cpu_cfs_periods_total | Counter | Number of elapsed enforcement period intervals | cpu | ||
| container_cpu_cfs_throttled_periods_total | Counter | Number of throttled period intervals | cpu | ||
| container_cpu_cfs_throttled_seconds_total | Counter | Total time duration the container has been throttled | seconds | cpu | |
| container_cpu_load_average_10s | Gauge | Value of container cpu load average over the last 10 seconds | cpuLoad | ||
| container_cpu_schedstat_run_periods_total | Counter | Number of times processes of the cgroup have run on the cpu | sched | ||
| container_cpu_schedstat_runqueue_seconds_total | Counter | Time duration processes of the container have been waiting on a runqueue | seconds | sched | |
| container_cpu_schedstat_run_seconds_total | Counter | Time duration the processes of the container have run on the CPU | seconds | sched | |
| container_cpu_system_seconds_total | Counter | Cumulative system cpu time consumed | seconds | cpu | |
| container_cpu_usage_seconds_total | Counter | Cumulative cpu time consumed | seconds | cpu | |
| container_cpu_user_seconds_total | Counter | Cumulative user cpu time consumed | seconds | cpu | |
| container_file_descriptors | Gauge | Number of open file descriptors for the container | process | ||
| container_fs_inodes_free | Gauge | Number of available Inodes | disk | ||
| container_fs_inodes_total | Gauge | Total number of Inodes | disk | ||
| container_fs_io_current | Gauge | Number of I/Os currently in progress | diskIO | ||
| container_fs_io_time_seconds_total | Counter | Cumulative count of seconds spent doing I/Os | seconds | diskIO | |
| container_fs_io_time_weighted_seconds_total | Counter | Cumulative weighted I/O time | seconds | diskIO | |
| container_fs_limit_bytes | Gauge | Number of bytes that can be consumed by the container on this filesystem | bytes | disk | |
| container_fs_reads_bytes_total | Counter | Cumulative count of bytes read | bytes | diskIO | |
| container_fs_read_seconds_total | Counter | Cumulative count of seconds spent reading | diskIO | ||
| container_fs_reads_merged_total | Counter | Cumulative count of reads merged | diskIO | ||
| container_fs_reads_total | Counter | Cumulative count of reads completed | diskIO | ||
| container_fs_sector_reads_total | Counter | Cumulative count of sector reads completed | diskIO | ||
| container_fs_sector_writes_total | Counter | Cumulative count of sector writes completed | diskIO | ||
| container_fs_usage_bytes | Gauge | Number of bytes that are consumed by the container on this filesystem | bytes | disk | |
| container_fs_writes_bytes_total | Counter | Cumulative count of bytes written | bytes | diskIO | |
| container_fs_write_seconds_total | Counter | Cumulative count of seconds spent writing | seconds | diskIO | |
| container_fs_writes_merged_total | Counter | Cumulative count of writes merged | diskIO | ||
| container_fs_writes_total | Counter | Cumulative count of writes completed | diskIO | ||
| container_hugetlb_failcnt | Counter | Number of hugepage usage hits limits | hugetlb | ||
| container_hugetlb_max_usage_bytes | Gauge | Maximum hugepage usages recorded | bytes | hugetlb | |
| container_hugetlb_usage_bytes | Gauge | Current hugepage usage | bytes | hugetlb | |
| container_last_seen | Gauge | Last time a container was seen by the exporter | timestamp | - | |
| container_llc_occupancy_bytes | Gauge | Last level cache usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM). | bytes | resctrl | |
| container_memory_bandwidth_bytes | Gauge | Total memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM). | bytes | resctrl | |
| container_memory_bandwidth_local_bytes | Gauge | Local memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM). | bytes | resctrl | |
| container_memory_cache | Gauge | Total page cache memory | bytes | memory | |
| container_memory_failcnt | Counter | Number of memory usage hits limits | memory | ||
| container_memory_failures_total | Counter | Cumulative count of memory allocation failures | memory | ||
| container_memory_mapped_file | Gauge | Size of memory mapped files | bytes | memory | |
| container_memory_max_usage_bytes | Gauge | Maximum memory usage recorded | bytes | memory | |
| container_memory_migrate | Gauge | Memory migrate status | cpuset | ||
| container_memory_numa_pages | Gauge | Number of used pages per NUMA node | memory_numa | ||
| container_memory_rss | Gauge | Size of RSS | bytes | memory | |
| container_memory_swap | Gauge | Container swap usage | bytes | memory | |
| container_memory_usage_bytes | Gauge | Current memory usage, including all memory regardless of when it was accessed | bytes | memory | |
| container_memory_working_set_bytes | Gauge | Current working set | bytes | memory | |
| container_network_advance_tcp_stats_total | Gauge | advanced tcp connections statistic for container | advtcp | ||
| container_network_receive_bytes_total | Counter | Cumulative count of bytes received | bytes | network | |
| container_network_receive_errors_total | Counter | Cumulative count of errors encountered while receiving | network | ||
| container_network_receive_packets_dropped_total | Counter | Cumulative count of packets dropped while receiving | network | ||
| container_network_receive_packets_total | Counter | Cumulative count of packets received | network | ||
| container_network_tcp6_usage_total | Gauge | tcp6 connection usage statistic for container | tcp | ||
| container_network_tcp_usage_total | Gauge | tcp connection usage statistic for container | tcp | ||
| container_network_transmit_bytes_total | Counter | Cumulative count of bytes transmitted | bytes | network | |
| container_network_transmit_errors_total | Counter | Cumulative count of errors encountered while transmitting | network | ||
| container_network_transmit_packets_dropped_total | Counter | Cumulative count of packets dropped while transmitting | network | ||
| container_network_transmit_packets_total | Counter | Cumulative count of packets transmitted | network | ||
| container_network_udp6_usage_total | Gauge | udp6 connection usage statistic for container | udp | ||
| container_network_udp_usage_total | Gauge | udp connection usage statistic for container | udp | ||
| container_oom_events_total | Counter | Count of out of memory events observed for the container | oom_event | ||
| container_perf_events_scaling_ratio | Gauge | Scaling ratio for perf event counter (event can be identified by event label and cpu indicates the core for which event was measured). See perf event configuration. | perf_event | libpfm | |
| container_perf_events_total | Counter | Scaled counter of perf core event (event can be identified by event label and cpu indicates the core for which event was measured). See perf event configuration. | perf_event | libpfm | |
| container_perf_uncore_events_scaling_ratio | Gauge | Scaling ratio for perf uncore event counter (event can be identified by event label, pmu and socket lables indicate the PMU and the CPU socket for which event was measured). See perf event configuration. Metric exists only for main cgroup (id=“/”). | perf_event | libpfm | |
| container_perf_uncore_events_total | Counter | Scaled counter of perf uncore event (event can be identified by event label, pmu and socket lables indicate the PMU and the CPU socket for which event was measured). See perf event configuration). Metric exists only for main cgroup (id=“/”). | perf_event | libpfm | |
| container_processes | Gauge | Number of processes running inside the container | process | ||
| container_referenced_bytes | Gauge | Container referenced bytes during last measurements cycle based on Referenced field in /proc/smaps file, with /proc/PIDs/clear_refs set to 1 after defined number of cycles configured through referenced_reset_interval cAdvisor parameter.Warning: this is intrusive collection because can influence kernel page reclaim policy and add latency. Refer to https://github.com/brendangregg/wss#wsspl-referenced-page-flag for more details. | bytes | referenced_memory | |
| container_sockets | Gauge | Number of open sockets for the container | process | ||
| container_spec_cpu_period | Gauge | CPU period of the container | - | ||
| container_spec_cpu_quota | Gauge | CPU quota of the container | - | ||
| container_spec_cpu_shares | Gauge | CPU share of the container | - | ||
| container_spec_memory_limit_bytes | Gauge | Memory limit for the container | bytes | - | |
| container_spec_memory_reservation_limit_bytes | Gauge | Memory reservation limit for the container | bytes | ||
| container_spec_memory_swap_limit_bytes | Gauge | Memory swap limit for the container | bytes | ||
| container_start_time_seconds | Gauge | Start time of the container since unix epoch | seconds | ||
| container_tasks_state | Gauge | Number of tasks in given state (sleeping, running, stopped, uninterruptible, or ioawaiting) | cpuLoad | ||
| container_threads | Gauge | Number of threads running inside the container | process | ||
| container_threads_max | Gauge | Maximum number of threads allowed inside the container | process | ||
| container_ulimits_soft | Gauge | Soft ulimit values for the container root process. Unlimited if -1, except priority and nice | process | 
硬件指标
| 名称 | 类型 | 含义 | 单位 | 组件 | additional build flag | 
|---|---|---|---|---|---|
| machine_cpu_cache_capacity_bytes | Gauge | Cache size in bytes assigned to NUMA node and CPU core | bytes | cpu_topology | |
| machine_cpu_cores | Gauge | Number of logical CPU cores | |||
| machine_cpu_physical_cores | Gauge | Number of physical CPU cores | |||
| machine_cpu_sockets | Gauge | Number of CPU sockets | |||
| machine_dimm_capacity_bytes | Gauge | Total RAM DIMM capacity (all types memory modules) value labeled by dimm type, | |||
| information is retrieved from sysfs edac per-DIMM API (/sys/devices/system/edac/mc/) introduced in kernel 3.6 | bytes | ||||
| machine_dimm_count | Gauge | Number of RAM DIMM (all types memory modules) value labeled by dimm type, | |||
| information is retrieved from sysfs edac per-DIMM API (/sys/devices/system/edac/mc/) introduced in kernel 3.6 | |||||
| machine_memory_bytes | Gauge | Amount of memory installed on the machine | bytes | ||
| machine_node_hugepages_count | Gauge | Numer of hugepages assigned to NUMA node | cpu_topology | ||
| machine_node_memory_capacity_bytes | Gauge | Amount of memory assigned to NUMA node | bytes | cpu_topology | |
| machine_nvm_avg_power_budget_watts | Gauge | NVM power budget | watts | libipmctl | |
| machine_nvm_capacity | Gauge | NVM capacity value labeled by NVM mode (memory mode or app direct mode) | bytes | libipmctl | |
| machine_thread_siblings_count | Gauge | Number of CPU thread siblings | cpu_topology | 
相关文章:
Kubelet监控指标说明
Probe路径 含义:kubelet以及kubelet监控的Pod的存活性请求路径:“/metrics/probes”指标 名称类型含义upGauge服务是否存活prober_probe_totalCounter按结果计算容器的活动探测、就绪探测或启动探测的累计数目以及存活性结果 Metrics路径 含义&#x…...
python中的数据类型(价值6980的全能工程师课程笔记)
概述 python数据类型主要分为以下七大类: Numbers(数字) Boolean(布尔) String(字符串) List(列表) Tuple(元组) Dictionary(字典) Set(集合) Python 的七个标准数据类型中: 不可变数据类型(4 个):Number(数字)、Boolean(布尔)、String(字符串)、T…...
 
Tomcat 配置IPV6
文章目录一、场景二、tomcat开启ipv6三、ipv6环境配置四、访问总结一、场景 我们在linux下安装一个tomcat,启用ipv6的方式,然后在windows下用浏览器访问这个tomcat 二、tomcat开启ipv6 在server.xml配置文件的里面加上 address”[::]” ,这…...
 
JavaEE——MyBatis的简单介绍和使用
MyBatis是什么 MyBatis是一个支持普通SQL查询,存储过程以及高级映射的持久层框架,他消除了几乎所有的JDBC代码和参数的手动设置以及对结果集的检索,使用简单的XML或注解进行配置和原始映射,将接口和Java的POJO映射成数据库中的记…...
 
主数据管理平台如何进行模型管理
企业管理主数据,模型管理尤为重要。在对主数据进行建模操作时,既要保证数据通用性、安全性,又要符合企业的业务需求。今天小亿带你认识一下亿信华辰睿码主数据管理平台里的主数据模型管理。 主数据模型分类 一款专业的主数据管理平台&#…...
 
在 Kubernetes 上运行《我的世界》
最近给小朋友装上了叨叨许久的 Minecraft(我的世界),为了体验安装的是开源启动器 HMCL。其实这游戏我也关注比较久了,不过感觉太耗时间。但被小朋友拉上一起玩,便研究了下自建服务器。GitHub 发现已经有人做好了 Minec…...
 
万字长文掌握Python高并发
文章目录0 前言1 并发、并行、同步、异步、阻塞、非阻塞1.1 并发1.2 并行1.3 同步1.4 异步1.5 阻塞1.6 非阻塞2 多线程2.1 Python线程的创建方式2.1.1 方式一2.1.2 方式二 继承Thread2.1.3 通过线程池创建多线程2.2 聊聊GIL2.2.1 Python线程与操作系统线程的关系2.3 线程同步2.…...
 
高性能办公娱乐迷你主机——Maxtang大唐AMD5600U
今天给大家介绍一款AMD5600U迷你主机,说起这款处理器大家应该并不陌生,像联想小新、YOGA以及ThinkBook等很多款用的都是这个型号,不过笔记本的价格基本都在3999-4999这个价位区间,同样的处理器,笔记本卖那么贵…...
 
牛客教你用雇主品牌力抢人才!附6类校招玩法
最新校招数据显示,79%的应届生在Offer抉择时首要考量薪资福利。但谈钱多伤感情啊~牛客从100案例中挑出6种最潮的校招雇主品牌玩法,助力你抢人才。01、英特尔中国:“芯”动小镇雇主是否能让自己产生激情和热情,已经成为应届生选择O…...
 
leaflet: 鼠标mouseover显示城市信息,mouseout隐藏信息(067)
第067个 点击查看专栏目录 本示例的目的是介绍演示如何在vue+leaflet中显示城市信息,这里给marker添加鼠标事件,用到了mouseover和mouseout,用于控制信息的显示和隐藏。 直接复制下面的 vue+leaflet源代码,操作2分钟即可运行实现效果 文章目录 示例效果配置方式示例源代码…...
 
docker部署springboot项目
1、创建放置项目jar包和Dockerfile的文件夹 cd usr/ mkdir reggie cd reggie/ 2、上传Dockerfile和项目jar包 Dockerfile内容如下: # 基础镜像使用java FROM java:8 # 作者 MAINTAINER chenxiansheng # VOLUME 指定了临时文件目录为/tmp。 # 其效果是在主机 /v…...
 
简单实用的CSS属性(滑轮滚动保持头部不动、暂无数据显示、元素隔开距离、带背景的文字效果、网页上禁止选中文字、校验值有效为绿色无效为红色、)
简单实用的CSS属性(滑轮滚动保持头部不动、暂无数据显示、元素隔开距离、带背景的文字效果、网页上禁止选中文字、校验值有效为绿色无效为红色、) 目录 一、滑轮滚动保持头部不动 二、暂无数据显示 三、元素隔开距离 四、带背景的文字效果 backgro…...
 
Unity 工具 之 SoftMask软遮罩 实现 UI 边缘渐变过渡的简单使用介绍
Unity 工具 之 SoftMask软遮罩 实现 UI 边缘渐变过渡的简单使用介绍 目录 Unity 工具 之 SoftMask软遮罩 实现 UI 边缘渐变过渡的简单使用介绍 一、简单介绍 二、Mask 实现的遮罩效果 三、Soft Mask 实现遮罩效果 四、 Soft Mask 的一些设置 五、插件下载 一、简单介绍 U…...
 
Python-第六天 Python数据容器
Python-第六天 Python数据容器一、数据容器入门1.数据容器二、数据容器:list(列表)1.列表的定义2.列表的下标(索引)3.列表的常用操作(方法)4.练习案例:常用功能练习5.list(列表)的遍历5.1 列表的…...
 
【C/C++基础练习题】复习题三,易错点知识点笔记
C复习题知识点记录: 在定义结构体类型时,不可以为成员设置默认值。 在公用一个共用体变量时。系统为其分配存储空间的原则是按成员中占内存空间最大者分配 a ,La, "a", L"a" 字符 长字符 字符串 长字符串 布尔类型只有两个值 fal…...
Mysql sql优化
插入优化 1️⃣ 用批量插入代替单条插入 insert into 表明 values(1, xxx) insert into 表明 values(2, xxx) ... 改为使用👇 insert into 表名 values(1, xxx), (2, xxx)...2️⃣ 手动提交事务 start tranaction; insert into 表名 values(1, xxx), (2, xxx)... in…...
vnode 在 Vue 中的作用
vnode就是 Vue 中的 虚拟 dom 。 vnode 是怎么来的? 就是把 template 中的结构内容,通过 vue template complier 中的 render 函数(使用了 JS 中的 with 语法),来生成 template 中对应的 js 数据结构,举个例…...
 
SQL语句实现找到一行中数据最大值(greatest)/最小值(least);mysql行转列
今日我在刷题时遇到这样一个题,它提到了以下需求: 有一场节目表演,五名裁判会对节目提供1-10分的打分,节目最终得分为去掉一个最高分和一个最低分后的平均分。 存在以下一张表performence_detail,包含字段有performa…...
 
记一次以小勃大,紧张刺激的渗透测试(2017年老文)
一、起因 emmm,炎炎夏日到来,这么个桑拿天干什么好呢? 没错,一定要坐在家里,吹着空调,吃着西瓜,然后静静地挖洞。挖洞完叫个外卖,喝着啤酒,撸着烧烤,岂不美…...
 
LeetCode 61. 旋转链表
原题链接 难度:middle\color{orange}{middle}middle 题目描述 给你一个链表的头节点 headheadhead ,旋转链表,将链表每个节点向右移动 kkk 个位置。 示例 1: 输入:head [1,2,3,4,5], k 2 输出:[4,5,1…...
 
从WWDC看苹果产品发展的规律
WWDC 是苹果公司一年一度面向全球开发者的盛会,其主题演讲展现了苹果在产品设计、技术路线、用户体验和生态系统构建上的核心理念与演进脉络。我们借助 ChatGPT Deep Research 工具,对过去十年 WWDC 主题演讲内容进行了系统化分析,形成了这份…...
 
现代密码学 | 椭圆曲线密码学—附py代码
Elliptic Curve Cryptography 椭圆曲线密码学(ECC)是一种基于有限域上椭圆曲线数学特性的公钥加密技术。其核心原理涉及椭圆曲线的代数性质、离散对数问题以及有限域上的运算。 椭圆曲线密码学是多种数字签名算法的基础,例如椭圆曲线数字签…...
 
涂鸦T5AI手搓语音、emoji、otto机器人从入门到实战
“🤖手搓TuyaAI语音指令 😍秒变表情包大师,让萌系Otto机器人🔥玩出智能新花样!开整!” 🤖 Otto机器人 → 直接点明主体 手搓TuyaAI语音 → 强调 自主编程/自定义 语音控制(TuyaAI…...
C#学习第29天:表达式树(Expression Trees)
目录 什么是表达式树? 核心概念 1.表达式树的构建 2. 表达式树与Lambda表达式 3.解析和访问表达式树 4.动态条件查询 表达式树的优势 1.动态构建查询 2.LINQ 提供程序支持: 3.性能优化 4.元数据处理 5.代码转换和重写 适用场景 代码复杂性…...
 
【MATLAB代码】基于最大相关熵准则(MCC)的三维鲁棒卡尔曼滤波算法(MCC-KF),附源代码|订阅专栏后可直接查看
文章所述的代码实现了基于最大相关熵准则(MCC)的三维鲁棒卡尔曼滤波算法(MCC-KF),针对传感器观测数据中存在的脉冲型异常噪声问题,通过非线性加权机制提升滤波器的抗干扰能力。代码通过对比传统KF与MCC-KF在含异常值场景下的表现,验证了后者在状态估计鲁棒性方面的显著优…...
【Elasticsearch】Elasticsearch 在大数据生态圈的地位 实践经验
Elasticsearch 在大数据生态圈的地位 & 实践经验 1.Elasticsearch 的优势1.1 Elasticsearch 解决的核心问题1.1.1 传统方案的短板1.1.2 Elasticsearch 的解决方案 1.2 与大数据组件的对比优势1.3 关键优势技术支撑1.4 Elasticsearch 的竞品1.4.1 全文搜索领域1.4.2 日志分析…...
 
Linux中《基础IO》详细介绍
目录 理解"文件"狭义理解广义理解文件操作的归类认知系统角度文件类别 回顾C文件接口打开文件写文件读文件稍作修改,实现简单cat命令 输出信息到显示器,你有哪些方法stdin & stdout & stderr打开文件的方式 系统⽂件I/O⼀种传递标志位…...
Python实现简单音频数据压缩与解压算法
Python实现简单音频数据压缩与解压算法 引言 在音频数据处理中,压缩算法是降低存储成本和传输效率的关键技术。Python作为一门灵活且功能强大的编程语言,提供了丰富的库和工具来实现音频数据的压缩与解压。本文将通过一个简单的音频数据压缩与解压算法…...
 
Android写一个捕获全局异常的工具类
项目开发和实际运行过程中难免会遇到异常发生,系统提供了一个可以捕获全局异常的工具Uncaughtexceptionhandler,它是Thread的子类(就是package java.lang;里线程的Thread)。本文将利用它将设备信息、报错信息以及错误的发生时间都…...
Spring Boot + MyBatis 集成支付宝支付流程
Spring Boot MyBatis 集成支付宝支付流程 核心流程 商户系统生成订单调用支付宝创建预支付订单用户跳转支付宝完成支付支付宝异步通知支付结果商户处理支付结果更新订单状态支付宝同步跳转回商户页面 代码实现示例(电脑网站支付) 1. 添加依赖 <!…...
