Kubelet监控指标说明

news/2024/7/4 7:45:42 标签: kubelet, 云原生

Probe路径

  • 含义:kubelet以及kubelet监控的Pod的存活性
  • 请求路径:“/metrics/probes”
  • 指标
名称类型含义
upGauge服务是否存活
prober_probe_totalCounter按结果计算容器的活动探测、就绪探测或启动探测的累计数目以及存活性结果

Metrics路径

  • 含义:kubelet自身指标统计
  • 请求路径:“/metrics”
  • 指标
名称类型含义
kubelet_running_podsGaugekubelet上运行pod的数目
kubelet_started_containers_errors_totalCounter启动容器时累计错误数

cadvisor路径

  • 含义:容器和硬件级别监控
  • 请求路径:“/metrics/cadvisor”

容器指标

名称类型含义单位组件additional build flag
container_accelerator_duty_cycleGaugePercent of time over the past sample period during which the accelerator was actively processingpercentageaccelerator
container_accelerator_memory_total_bytesGaugeTotal accelerator memorybytesaccelerator
container_accelerator_memory_used_bytesGaugeTotal accelerator memory allocatedbytesaccelerator
container_blkio_device_usage_totalCounterBlkio device bytes usagebytesdiskIO
container_cpu_cfs_periods_totalCounterNumber of elapsed enforcement period intervalscpu
container_cpu_cfs_throttled_periods_totalCounterNumber of throttled period intervalscpu
container_cpu_cfs_throttled_seconds_totalCounterTotal time duration the container has been throttledsecondscpu
container_cpu_load_average_10sGaugeValue of container cpu load average over the last 10 secondscpuLoad
container_cpu_schedstat_run_periods_totalCounterNumber of times processes of the cgroup have run on the cpusched
container_cpu_schedstat_runqueue_seconds_totalCounterTime duration processes of the container have been waiting on a runqueuesecondssched
container_cpu_schedstat_run_seconds_totalCounterTime duration the processes of the container have run on the CPUsecondssched
container_cpu_system_seconds_totalCounterCumulative system cpu time consumedsecondscpu
container_cpu_usage_seconds_totalCounterCumulative cpu time consumedsecondscpu
container_cpu_user_seconds_totalCounterCumulative user cpu time consumedsecondscpu
container_file_descriptorsGaugeNumber of open file descriptors for the containerprocess
container_fs_inodes_freeGaugeNumber of available Inodesdisk
container_fs_inodes_totalGaugeTotal number of Inodesdisk
container_fs_io_currentGaugeNumber of I/Os currently in progressdiskIO
container_fs_io_time_seconds_totalCounterCumulative count of seconds spent doing I/OssecondsdiskIO
container_fs_io_time_weighted_seconds_totalCounterCumulative weighted I/O timesecondsdiskIO
container_fs_limit_bytesGaugeNumber of bytes that can be consumed by the container on this filesystembytesdisk
container_fs_reads_bytes_totalCounterCumulative count of bytes readbytesdiskIO
container_fs_read_seconds_totalCounterCumulative count of seconds spent readingdiskIO
container_fs_reads_merged_totalCounterCumulative count of reads mergeddiskIO
container_fs_reads_totalCounterCumulative count of reads completeddiskIO
container_fs_sector_reads_totalCounterCumulative count of sector reads completeddiskIO
container_fs_sector_writes_totalCounterCumulative count of sector writes completeddiskIO
container_fs_usage_bytesGaugeNumber of bytes that are consumed by the container on this filesystembytesdisk
container_fs_writes_bytes_totalCounterCumulative count of bytes writtenbytesdiskIO
container_fs_write_seconds_totalCounterCumulative count of seconds spent writingsecondsdiskIO
container_fs_writes_merged_totalCounterCumulative count of writes mergeddiskIO
container_fs_writes_totalCounterCumulative count of writes completeddiskIO
container_hugetlb_failcntCounterNumber of hugepage usage hits limitshugetlb
container_hugetlb_max_usage_bytesGaugeMaximum hugepage usages recordedbyteshugetlb
container_hugetlb_usage_bytesGaugeCurrent hugepage usagebyteshugetlb
container_last_seenGaugeLast time a container was seen by the exportertimestamp-
container_llc_occupancy_bytesGaugeLast level cache usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_bandwidth_bytesGaugeTotal memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_bandwidth_local_bytesGaugeLocal memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_cacheGaugeTotal page cache memorybytesmemory
container_memory_failcntCounterNumber of memory usage hits limitsmemory
container_memory_failures_totalCounterCumulative count of memory allocation failuresmemory
container_memory_mapped_fileGaugeSize of memory mapped filesbytesmemory
container_memory_max_usage_bytesGaugeMaximum memory usage recordedbytesmemory
container_memory_migrateGaugeMemory migrate statuscpuset
container_memory_numa_pagesGaugeNumber of used pages per NUMA nodememory_numa
container_memory_rssGaugeSize of RSSbytesmemory
container_memory_swapGaugeContainer swap usagebytesmemory
container_memory_usage_bytesGaugeCurrent memory usage, including all memory regardless of when it was accessedbytesmemory
container_memory_working_set_bytesGaugeCurrent working setbytesmemory
container_network_advance_tcp_stats_totalGaugeadvanced tcp connections statistic for containeradvtcp
container_network_receive_bytes_totalCounterCumulative count of bytes receivedbytesnetwork
container_network_receive_errors_totalCounterCumulative count of errors encountered while receivingnetwork
container_network_receive_packets_dropped_totalCounterCumulative count of packets dropped while receivingnetwork
container_network_receive_packets_totalCounterCumulative count of packets receivednetwork
container_network_tcp6_usage_totalGaugetcp6 connection usage statistic for containertcp
container_network_tcp_usage_totalGaugetcp connection usage statistic for containertcp
container_network_transmit_bytes_totalCounterCumulative count of bytes transmittedbytesnetwork
container_network_transmit_errors_totalCounterCumulative count of errors encountered while transmittingnetwork
container_network_transmit_packets_dropped_totalCounterCumulative count of packets dropped while transmittingnetwork
container_network_transmit_packets_totalCounterCumulative count of packets transmittednetwork
container_network_udp6_usage_totalGaugeudp6 connection usage statistic for containerudp
container_network_udp_usage_totalGaugeudp connection usage statistic for containerudp
container_oom_events_totalCounterCount of out of memory events observed for the containeroom_event
container_perf_events_scaling_ratioGaugeScaling 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_eventlibpfm
container_perf_events_totalCounterScaled 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_eventlibpfm
container_perf_uncore_events_scaling_ratioGaugeScaling 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_eventlibpfm
container_perf_uncore_events_totalCounterScaled 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_eventlibpfm
container_processesGaugeNumber of processes running inside the containerprocess
container_referenced_bytesGaugeContainer 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.bytesreferenced_memory
container_socketsGaugeNumber of open sockets for the containerprocess
container_spec_cpu_periodGaugeCPU period of the container-
container_spec_cpu_quotaGaugeCPU quota of the container-
container_spec_cpu_sharesGaugeCPU share of the container-
container_spec_memory_limit_bytesGaugeMemory limit for the containerbytes-
container_spec_memory_reservation_limit_bytesGaugeMemory reservation limit for the containerbytes
container_spec_memory_swap_limit_bytesGaugeMemory swap limit for the containerbytes
container_start_time_secondsGaugeStart time of the container since unix epochseconds
container_tasks_stateGaugeNumber of tasks in given state (sleeping, running, stopped, uninterruptible, or ioawaiting)cpuLoad
container_threadsGaugeNumber of threads running inside the containerprocess
container_threads_maxGaugeMaximum number of threads allowed inside the containerprocess
container_ulimits_softGaugeSoft ulimit values for the container root process. Unlimited if -1, except priority and niceprocess

硬件指标

名称类型含义单位组件additional build flag
machine_cpu_cache_capacity_bytesGaugeCache size in bytes assigned to NUMA node and CPU corebytescpu_topology
machine_cpu_coresGaugeNumber of logical CPU cores
machine_cpu_physical_coresGaugeNumber of physical CPU cores
machine_cpu_socketsGaugeNumber of CPU sockets
machine_dimm_capacity_bytesGaugeTotal 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.6bytes
machine_dimm_countGaugeNumber 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_bytesGaugeAmount of memory installed on the machinebytes
machine_node_hugepages_countGaugeNumer of hugepages assigned to NUMA nodecpu_topology
machine_node_memory_capacity_bytesGaugeAmount of memory assigned to NUMA nodebytescpu_topology
machine_nvm_avg_power_budget_wattsGaugeNVM power budgetwattslibipmctl
machine_nvm_capacityGaugeNVM capacity value labeled by NVM mode (memory mode or app direct mode)byteslibipmctl
machine_thread_siblings_countGaugeNumber of CPU thread siblingscpu_topology

http://www.niftyadmin.cn/n/68897.html

相关文章

Java后端技术框架

目录 一、简介 二、持久层框架 三、分布式框架 四、分布式定时任务 五、分布式事务 六、MQ 七、分布式定时任务 八、分布式事务 九、分布式锁 十、MQ 十一、杂项 1)Redis客户端 2)接口文档工具 3)JSON工具 4)HTTP客…

傻白探索Chiplet,Design Space Exploration for Chiplet-Assembly-Based Processors(十三)

阅读了Design Space Exploration for Chiplet-Assembly-Based Processors这篇论文,是关于chiplet设计空间探索的,个人感觉核心贡献有两个:1.提出使用整数线性规划算法进行Chiplet的选择;2.基于RE和NRE提出了一个cost模型&#xff…

【Airplay_BCT】关于Bonjour的概念解答

1.什么是Bonjour? Bonjour,也称为零配置网络,可以自动发现 IP 网络上的计算机、设备和服务。 Bonjour 使用行业标准 IP 协议,允许设备自动发现彼此,无需输入 IP 地址或配置 DNS 服务器。具体来说,Bonjour …

MongoDB 覆盖索引查询

MongoDB 覆盖索引查询 官方的MongoDB的文档中对覆盖查询做了说明: 所有的查询字段是索引的一部分所有的查询返回字段在同一个索引中 由于所有出现在查询中的字段是索引的一部分, MongoDB 无需在整个数据文档中检索匹配查询条件和返回使用相同索引的查询…

如何用P6软件编制项目进度计划(下)

卷首语 根据项目合同包含的工作范围进行工作分解(WBS),按照业主的要求及项目管理的需要,考虑不同阶段和层次,适时编制出项目管理所要求的的各级进度计划。 4搜集项目计划与进度控制相关信息 搜集与项目计划编制与进…

2023最新的接口自动化测试面试题

1、请结合你熟悉的项目,介绍一下你是怎么做测试的? -首先要自己熟悉项目,熟悉项目的需求、项目组织架构、项目研发接口等 -功能 接口 自动化 性能 是怎么处理的? -第一步: 进行需求分析,需求评审&#…

操作系统-处理机调度

1.处理机调度的概念、层次1.1调度的基本概念制定某种规则来决定处理任务的顺序。1.2调度的三个层次高级调度(作业调度)中级调度(内存调度)进程的挂起态与七状态模型低级调度(进程调度)小结2.进程调度的时机…

【C语言学习笔记】:数组、指针相关面试题

无特殊说明情况下,下面所有题s目都是linux下的32位C程序。 「1、计算以下sizeof的值。」 char str1[] {a, b, c, d, e}; char str2[] "abcde";char *ptr "abcde";char book[][80]{"计算机应用基础","C语言","C程…