k3s/vendor/github.com/containerd/cgroups/v2/stats/metrics.pb.txt

540 lines
11 KiB
Plaintext
Raw Normal View History

2019-01-12 04:58:27 +00:00
file {
2020-08-10 17:43:49 +00:00
name: "github.com/containerd/cgroups/v2/stats/metrics.proto"
package: "io.containerd.cgroups.v2"
2019-01-12 04:58:27 +00:00
dependency: "gogoproto/gogo.proto"
message_type {
name: "Metrics"
field {
name: "pids"
2020-08-10 17:43:49 +00:00
number: 1
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.PidsStat"
2019-01-12 04:58:27 +00:00
json_name: "pids"
}
field {
name: "cpu"
2020-08-10 17:43:49 +00:00
number: 2
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.CPUStat"
2019-01-12 04:58:27 +00:00
options {
65004: "CPU"
}
json_name: "cpu"
}
field {
name: "memory"
number: 4
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.MemoryStat"
2019-01-12 04:58:27 +00:00
json_name: "memory"
}
field {
2020-08-10 17:43:49 +00:00
name: "rdma"
2019-01-12 04:58:27 +00:00
number: 5
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.RdmaStat"
json_name: "rdma"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "io"
2019-01-12 04:58:27 +00:00
number: 6
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.IOStat"
json_name: "io"
2019-01-12 04:58:27 +00:00
}
2019-09-27 21:51:53 +00:00
field {
2020-08-10 17:43:49 +00:00
name: "hugetlb"
2019-09-27 21:51:53 +00:00
number: 7
label: LABEL_REPEATED
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.HugeTlbStat"
json_name: "hugetlb"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "memory_events"
number: 8
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_MESSAGE
type_name: ".io.containerd.cgroups.v2.MemoryEvents"
json_name: "memoryEvents"
2019-01-12 04:58:27 +00:00
}
}
message_type {
name: "PidsStat"
field {
name: "current"
number: 1
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "current"
}
field {
name: "limit"
number: 2
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "limit"
}
}
message_type {
name: "CPUStat"
field {
2020-08-10 17:43:49 +00:00
name: "usage_usec"
2019-01-12 04:58:27 +00:00
number: 1
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "usageUsec"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "user_usec"
2019-01-12 04:58:27 +00:00
number: 2
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "userUsec"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "system_usec"
2019-01-12 04:58:27 +00:00
number: 3
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "systemUsec"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "nr_periods"
2019-01-12 04:58:27 +00:00
number: 4
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "nrPeriods"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "nr_throttled"
number: 5
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "nrThrottled"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "throttled_usec"
number: 6
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "throttledUsec"
2019-01-12 04:58:27 +00:00
}
}
message_type {
name: "MemoryStat"
field {
2020-08-10 17:43:49 +00:00
name: "anon"
2019-01-12 04:58:27 +00:00
number: 1
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "anon"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "file"
2019-01-12 04:58:27 +00:00
number: 2
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "file"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "kernel_stack"
2019-01-12 04:58:27 +00:00
number: 3
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "kernelStack"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "slab"
2019-01-12 04:58:27 +00:00
number: 4
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "slab"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "sock"
2019-01-12 04:58:27 +00:00
number: 5
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "sock"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "shmem"
2019-01-12 04:58:27 +00:00
number: 6
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "shmem"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "file_mapped"
2019-01-12 04:58:27 +00:00
number: 7
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "fileMapped"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "file_dirty"
2019-01-12 04:58:27 +00:00
number: 8
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "fileDirty"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "file_writeback"
2019-01-12 04:58:27 +00:00
number: 9
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "fileWriteback"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "anon_thp"
2019-01-12 04:58:27 +00:00
number: 10
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "anonThp"
2019-01-12 04:58:27 +00:00
}
field {
name: "inactive_anon"
number: 11
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "inactiveAnon"
}
field {
name: "active_anon"
number: 12
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "activeAnon"
}
field {
name: "inactive_file"
number: 13
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "inactiveFile"
}
field {
name: "active_file"
number: 14
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "activeFile"
}
field {
name: "unevictable"
number: 15
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "unevictable"
}
field {
2020-08-10 17:43:49 +00:00
name: "slab_reclaimable"
2019-01-12 04:58:27 +00:00
number: 16
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "slabReclaimable"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "slab_unreclaimable"
2019-01-12 04:58:27 +00:00
number: 17
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "slabUnreclaimable"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgfault"
2019-01-12 04:58:27 +00:00
number: 18
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgfault"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgmajfault"
2019-01-12 04:58:27 +00:00
number: 19
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgmajfault"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "workingset_refault"
2019-01-12 04:58:27 +00:00
number: 20
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "workingsetRefault"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "workingset_activate"
2019-01-12 04:58:27 +00:00
number: 21
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "workingsetActivate"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "workingset_nodereclaim"
2019-01-12 04:58:27 +00:00
number: 22
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "workingsetNodereclaim"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgrefill"
2019-01-12 04:58:27 +00:00
number: 23
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgrefill"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgscan"
2019-01-12 04:58:27 +00:00
number: 24
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgscan"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgsteal"
2019-01-12 04:58:27 +00:00
number: 25
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgsteal"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgactivate"
2019-01-12 04:58:27 +00:00
number: 26
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgactivate"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pgdeactivate"
2019-01-12 04:58:27 +00:00
number: 27
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pgdeactivate"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pglazyfree"
2019-01-12 04:58:27 +00:00
number: 28
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pglazyfree"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pglazyfreed"
2019-01-12 04:58:27 +00:00
number: 29
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "pglazyfreed"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "thp_fault_alloc"
2019-01-12 04:58:27 +00:00
number: 30
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "thpFaultAlloc"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "thp_collapse_alloc"
2019-01-12 04:58:27 +00:00
number: 31
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "thpCollapseAlloc"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "usage"
2019-01-12 04:58:27 +00:00
number: 32
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "usage"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "usage_limit"
2019-01-12 04:58:27 +00:00
number: 33
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_UINT64
json_name: "usageLimit"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "swap_usage"
2019-01-12 04:58:27 +00:00
number: 34
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_UINT64
json_name: "swapUsage"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "swap_limit"
2019-01-12 04:58:27 +00:00
number: 35
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_UINT64
json_name: "swapLimit"
2019-01-12 04:58:27 +00:00
}
}
message_type {
2020-08-10 17:43:49 +00:00
name: "MemoryEvents"
2019-01-12 04:58:27 +00:00
field {
2020-08-10 17:43:49 +00:00
name: "low"
2019-01-12 04:58:27 +00:00
number: 1
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "low"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "high"
2019-01-12 04:58:27 +00:00
number: 2
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "high"
2019-01-12 04:58:27 +00:00
}
field {
name: "max"
number: 3
label: LABEL_OPTIONAL
type: TYPE_UINT64
json_name: "max"
}
field {
2020-08-10 17:43:49 +00:00
name: "oom"
2019-01-12 04:58:27 +00:00
number: 4
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "oom"
2019-01-12 04:58:27 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "oom_kill"
2019-01-12 04:58:27 +00:00
number: 5
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "oomKill"
2019-01-12 04:58:27 +00:00
}
}
message_type {
name: "RdmaStat"
field {
name: "current"
number: 1
label: LABEL_REPEATED
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.RdmaEntry"
2019-01-12 04:58:27 +00:00
json_name: "current"
}
field {
name: "limit"
number: 2
label: LABEL_REPEATED
type: TYPE_MESSAGE
2020-08-10 17:43:49 +00:00
type_name: ".io.containerd.cgroups.v2.RdmaEntry"
2019-01-12 04:58:27 +00:00
json_name: "limit"
}
}
message_type {
name: "RdmaEntry"
field {
name: "device"
2019-09-27 21:51:53 +00:00
number: 1
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "device"
}
field {
name: "hca_handles"
2019-09-27 21:51:53 +00:00
number: 2
2019-01-12 04:58:27 +00:00
label: LABEL_OPTIONAL
2019-09-27 21:51:53 +00:00
type: TYPE_UINT32
json_name: "hcaHandles"
2019-01-12 04:58:27 +00:00
}
field {
name: "hca_objects"
2019-09-27 21:51:53 +00:00
number: 3
label: LABEL_OPTIONAL
type: TYPE_UINT32
json_name: "hcaObjects"
}
}
message_type {
2020-08-10 17:43:49 +00:00
name: "IOStat"
field {
name: "usage"
number: 1
label: LABEL_REPEATED
type: TYPE_MESSAGE
type_name: ".io.containerd.cgroups.v2.IOEntry"
json_name: "usage"
}
}
message_type {
name: "IOEntry"
2019-09-27 21:51:53 +00:00
field {
2020-08-10 17:43:49 +00:00
name: "major"
2019-01-12 04:58:27 +00:00
number: 1
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_UINT64
json_name: "major"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "minor"
2019-09-27 21:51:53 +00:00
number: 2
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "minor"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "rbytes"
2019-09-27 21:51:53 +00:00
number: 3
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "rbytes"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "wbytes"
2019-09-27 21:51:53 +00:00
number: 4
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "wbytes"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "rios"
2019-09-27 21:51:53 +00:00
number: 5
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "rios"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "wios"
2019-09-27 21:51:53 +00:00
number: 6
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "wios"
2019-09-27 21:51:53 +00:00
}
2020-08-10 17:43:49 +00:00
}
message_type {
name: "HugeTlbStat"
2019-09-27 21:51:53 +00:00
field {
2020-08-10 17:43:49 +00:00
name: "current"
number: 1
2019-09-27 21:51:53 +00:00
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "current"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "max"
number: 2
2019-09-27 21:51:53 +00:00
label: LABEL_OPTIONAL
type: TYPE_UINT64
2020-08-10 17:43:49 +00:00
json_name: "max"
2019-09-27 21:51:53 +00:00
}
field {
2020-08-10 17:43:49 +00:00
name: "pagesize"
number: 3
2019-09-27 21:51:53 +00:00
label: LABEL_OPTIONAL
2020-08-10 17:43:49 +00:00
type: TYPE_STRING
json_name: "pagesize"
2019-01-12 04:58:27 +00:00
}
}
syntax: "proto3"
}