Prometheus自带指标整理

本文详细整理了Prometheus监控系统中的关键内置指标,包括CPU、内存、存储和网络使用情况,以及Prometheus服务器自身的指标,如采样率、规则评估等,帮助优化监控配置和故障排查。
摘要由CSDN通过智能技术生成

序号

指标

类型

含义

原文

1

go_gc_duration_seconds

summary

垃圾收集周期的暂停持续时间

A summary of the pause duration of garbage collection cycles

2

go_goroutines

gauge

当前存在的goroutine数

Number of goroutines that currently exist.

3

go_info

gauge

有关GO环境的信息

Information about the Go environment.

4

go_memstats_alloc_bytes

gauge

已分配但仍在使用的字节数

Number of bytes allocated and still in use.

5

go_memstats_alloc_bytes_total

counter

分配的总字节数,即使已释放

Total number of bytes allocated, even if freed.

6

go_memstats_buck_hash_sys_bytes

gauge

桶哈希表使用的字节数

Number of bytes used by the profiling bucket hash table.

7

go_memstats_frees_total

counter

空闲的总数

Total number of frees.

8

go_memstats_gc_cpu_fraction

gauge

自程序启动以来GC使用的该程序可用CPU时间

The fraction of this program's available CPU time used by the GC since the program started.

9

go_memstats_gc_sys_bytes

gauge

用于垃圾收集系统元数据的字节数

Number of bytes used for garbage collection system metadata.

10

go_memstats_heap_alloc_bytes

gauge

已分配但仍在使用的堆字节数

Number of heap bytes allocated and still in use.

11

go_memstats_heap_idle_bytes

gauge

等待使用的堆字节数

Number of heap bytes waiting to be used.

12

go_memstats_heap_inuse_bytes

gauge

正在使用的堆字节数

Number of heap bytes that are in use.

13

go_memstats_heap_objects

gauge

分配的对象数

Number of allocated objects.

14

go_memstats_heap_released_bytes

gauge

释放到操作系统的堆字节数

Number of heap bytes released to OS.

15

go_memstats_heap_sys_bytes

gauge

从系统获得的堆字节数

Number of heap bytes obtained from system.

16

go_memstats_last_gc_time_seconds

gauge

自上次垃圾回收1970以来的秒数

Number of seconds since 1970 of last garbage collection.

17

go_memstats_lookups_total

counter

指针查找的总数

Total number of pointer lookups.

18

go_memstats_mallocs_total

counter

malloc的总数

Total number of mallocs.

19

go_memstats_mcache_inuse_bytes

gauge

mcache结构使用的字节数

Number of bytes in use by mcache structures.

20

go_memstats_mcache_sys_bytes

gauge

从系统中获取的用于mcache结构的字节数

Number of bytes used for mcache structures obtained from system.

21

go_memstats_mspan_inuse_bytes

gauge

mspan结构使用的字节数

Number of bytes in use by mspan structures.

22

go_memstats_mspan_sys_bytes

gauge

从系统获取的mspan结构所用的字节数

Number of bytes used for mspan structures obtained from system.

23

go_memstats_next_gc_bytes

gauge

下次垃圾回收将发生堆字节数

Number of heap bytes when next garbage collection will take place.

24

go_memstats_other_sys_bytes

gauge

用于其他系统分配的字节数

Number of bytes used for other system allocations.

25

go_memstats_stack_inuse_bytes

gauge

堆栈分配器使用的字节数

Number of bytes in use by the stack allocator.

26

go_memstats_stack_sys_bytes

gauge

从堆栈分配器系统获得的字节数

Number of bytes obtained from system for stack allocator.

27

go_memstats_sys_bytes

gauge

从系统中获得的字节数

Number of bytes obtained from system.

28

go_threads

gauge

创建的OS线程数

Number of OS threads created.

29

net_conntrack_dialer_conn_attempted_total

counter

给定拨号器以给定名称尝试的连接总数

Total number of connections attempted by the given dialer a given name.

30

net_conntrack_dialer_conn_closed_total

counter

给定名称的拨号器中关闭的连接总数

Total number of connections closed which originated from the dialer of a given name.

31

net_conntrack_dialer_conn_established_total

counter

给定拨号器以给定名称成功建立的连接总数

Total number of connections successfully established by the given dialer a given name.

32

net_conntrack_dialer_conn_failed_total

counter

给定拨号器以给定名称连接失败总数

Total number of connection

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值