metrics.pb.txt (10877B)
1 file { 2 name: "github.com/containerd/cgroups/cgroup2/stats/metrics.proto" 3 package: "io.containerd.cgroups.v2" 4 message_type { 5 name: "Metrics" 6 field { 7 name: "pids" 8 number: 1 9 label: LABEL_OPTIONAL 10 type: TYPE_MESSAGE 11 type_name: ".io.containerd.cgroups.v2.PidsStat" 12 json_name: "pids" 13 } 14 field { 15 name: "cpu" 16 number: 2 17 label: LABEL_OPTIONAL 18 type: TYPE_MESSAGE 19 type_name: ".io.containerd.cgroups.v2.CPUStat" 20 json_name: "cpu" 21 } 22 field { 23 name: "memory" 24 number: 4 25 label: LABEL_OPTIONAL 26 type: TYPE_MESSAGE 27 type_name: ".io.containerd.cgroups.v2.MemoryStat" 28 json_name: "memory" 29 } 30 field { 31 name: "rdma" 32 number: 5 33 label: LABEL_OPTIONAL 34 type: TYPE_MESSAGE 35 type_name: ".io.containerd.cgroups.v2.RdmaStat" 36 json_name: "rdma" 37 } 38 field { 39 name: "io" 40 number: 6 41 label: LABEL_OPTIONAL 42 type: TYPE_MESSAGE 43 type_name: ".io.containerd.cgroups.v2.IOStat" 44 json_name: "io" 45 } 46 field { 47 name: "hugetlb" 48 number: 7 49 label: LABEL_REPEATED 50 type: TYPE_MESSAGE 51 type_name: ".io.containerd.cgroups.v2.HugeTlbStat" 52 json_name: "hugetlb" 53 } 54 field { 55 name: "memory_events" 56 number: 8 57 label: LABEL_OPTIONAL 58 type: TYPE_MESSAGE 59 type_name: ".io.containerd.cgroups.v2.MemoryEvents" 60 json_name: "memoryEvents" 61 } 62 } 63 message_type { 64 name: "PidsStat" 65 field { 66 name: "current" 67 number: 1 68 label: LABEL_OPTIONAL 69 type: TYPE_UINT64 70 json_name: "current" 71 } 72 field { 73 name: "limit" 74 number: 2 75 label: LABEL_OPTIONAL 76 type: TYPE_UINT64 77 json_name: "limit" 78 } 79 } 80 message_type { 81 name: "CPUStat" 82 field { 83 name: "usage_usec" 84 number: 1 85 label: LABEL_OPTIONAL 86 type: TYPE_UINT64 87 json_name: "usageUsec" 88 } 89 field { 90 name: "user_usec" 91 number: 2 92 label: LABEL_OPTIONAL 93 type: TYPE_UINT64 94 json_name: "userUsec" 95 } 96 field { 97 name: "system_usec" 98 number: 3 99 label: LABEL_OPTIONAL 100 type: TYPE_UINT64 101 json_name: "systemUsec" 102 } 103 field { 104 name: "nr_periods" 105 number: 4 106 label: LABEL_OPTIONAL 107 type: TYPE_UINT64 108 json_name: "nrPeriods" 109 } 110 field { 111 name: "nr_throttled" 112 number: 5 113 label: LABEL_OPTIONAL 114 type: TYPE_UINT64 115 json_name: "nrThrottled" 116 } 117 field { 118 name: "throttled_usec" 119 number: 6 120 label: LABEL_OPTIONAL 121 type: TYPE_UINT64 122 json_name: "throttledUsec" 123 } 124 } 125 message_type { 126 name: "MemoryStat" 127 field { 128 name: "anon" 129 number: 1 130 label: LABEL_OPTIONAL 131 type: TYPE_UINT64 132 json_name: "anon" 133 } 134 field { 135 name: "file" 136 number: 2 137 label: LABEL_OPTIONAL 138 type: TYPE_UINT64 139 json_name: "file" 140 } 141 field { 142 name: "kernel_stack" 143 number: 3 144 label: LABEL_OPTIONAL 145 type: TYPE_UINT64 146 json_name: "kernelStack" 147 } 148 field { 149 name: "slab" 150 number: 4 151 label: LABEL_OPTIONAL 152 type: TYPE_UINT64 153 json_name: "slab" 154 } 155 field { 156 name: "sock" 157 number: 5 158 label: LABEL_OPTIONAL 159 type: TYPE_UINT64 160 json_name: "sock" 161 } 162 field { 163 name: "shmem" 164 number: 6 165 label: LABEL_OPTIONAL 166 type: TYPE_UINT64 167 json_name: "shmem" 168 } 169 field { 170 name: "file_mapped" 171 number: 7 172 label: LABEL_OPTIONAL 173 type: TYPE_UINT64 174 json_name: "fileMapped" 175 } 176 field { 177 name: "file_dirty" 178 number: 8 179 label: LABEL_OPTIONAL 180 type: TYPE_UINT64 181 json_name: "fileDirty" 182 } 183 field { 184 name: "file_writeback" 185 number: 9 186 label: LABEL_OPTIONAL 187 type: TYPE_UINT64 188 json_name: "fileWriteback" 189 } 190 field { 191 name: "anon_thp" 192 number: 10 193 label: LABEL_OPTIONAL 194 type: TYPE_UINT64 195 json_name: "anonThp" 196 } 197 field { 198 name: "inactive_anon" 199 number: 11 200 label: LABEL_OPTIONAL 201 type: TYPE_UINT64 202 json_name: "inactiveAnon" 203 } 204 field { 205 name: "active_anon" 206 number: 12 207 label: LABEL_OPTIONAL 208 type: TYPE_UINT64 209 json_name: "activeAnon" 210 } 211 field { 212 name: "inactive_file" 213 number: 13 214 label: LABEL_OPTIONAL 215 type: TYPE_UINT64 216 json_name: "inactiveFile" 217 } 218 field { 219 name: "active_file" 220 number: 14 221 label: LABEL_OPTIONAL 222 type: TYPE_UINT64 223 json_name: "activeFile" 224 } 225 field { 226 name: "unevictable" 227 number: 15 228 label: LABEL_OPTIONAL 229 type: TYPE_UINT64 230 json_name: "unevictable" 231 } 232 field { 233 name: "slab_reclaimable" 234 number: 16 235 label: LABEL_OPTIONAL 236 type: TYPE_UINT64 237 json_name: "slabReclaimable" 238 } 239 field { 240 name: "slab_unreclaimable" 241 number: 17 242 label: LABEL_OPTIONAL 243 type: TYPE_UINT64 244 json_name: "slabUnreclaimable" 245 } 246 field { 247 name: "pgfault" 248 number: 18 249 label: LABEL_OPTIONAL 250 type: TYPE_UINT64 251 json_name: "pgfault" 252 } 253 field { 254 name: "pgmajfault" 255 number: 19 256 label: LABEL_OPTIONAL 257 type: TYPE_UINT64 258 json_name: "pgmajfault" 259 } 260 field { 261 name: "workingset_refault" 262 number: 20 263 label: LABEL_OPTIONAL 264 type: TYPE_UINT64 265 json_name: "workingsetRefault" 266 } 267 field { 268 name: "workingset_activate" 269 number: 21 270 label: LABEL_OPTIONAL 271 type: TYPE_UINT64 272 json_name: "workingsetActivate" 273 } 274 field { 275 name: "workingset_nodereclaim" 276 number: 22 277 label: LABEL_OPTIONAL 278 type: TYPE_UINT64 279 json_name: "workingsetNodereclaim" 280 } 281 field { 282 name: "pgrefill" 283 number: 23 284 label: LABEL_OPTIONAL 285 type: TYPE_UINT64 286 json_name: "pgrefill" 287 } 288 field { 289 name: "pgscan" 290 number: 24 291 label: LABEL_OPTIONAL 292 type: TYPE_UINT64 293 json_name: "pgscan" 294 } 295 field { 296 name: "pgsteal" 297 number: 25 298 label: LABEL_OPTIONAL 299 type: TYPE_UINT64 300 json_name: "pgsteal" 301 } 302 field { 303 name: "pgactivate" 304 number: 26 305 label: LABEL_OPTIONAL 306 type: TYPE_UINT64 307 json_name: "pgactivate" 308 } 309 field { 310 name: "pgdeactivate" 311 number: 27 312 label: LABEL_OPTIONAL 313 type: TYPE_UINT64 314 json_name: "pgdeactivate" 315 } 316 field { 317 name: "pglazyfree" 318 number: 28 319 label: LABEL_OPTIONAL 320 type: TYPE_UINT64 321 json_name: "pglazyfree" 322 } 323 field { 324 name: "pglazyfreed" 325 number: 29 326 label: LABEL_OPTIONAL 327 type: TYPE_UINT64 328 json_name: "pglazyfreed" 329 } 330 field { 331 name: "thp_fault_alloc" 332 number: 30 333 label: LABEL_OPTIONAL 334 type: TYPE_UINT64 335 json_name: "thpFaultAlloc" 336 } 337 field { 338 name: "thp_collapse_alloc" 339 number: 31 340 label: LABEL_OPTIONAL 341 type: TYPE_UINT64 342 json_name: "thpCollapseAlloc" 343 } 344 field { 345 name: "usage" 346 number: 32 347 label: LABEL_OPTIONAL 348 type: TYPE_UINT64 349 json_name: "usage" 350 } 351 field { 352 name: "usage_limit" 353 number: 33 354 label: LABEL_OPTIONAL 355 type: TYPE_UINT64 356 json_name: "usageLimit" 357 } 358 field { 359 name: "swap_usage" 360 number: 34 361 label: LABEL_OPTIONAL 362 type: TYPE_UINT64 363 json_name: "swapUsage" 364 } 365 field { 366 name: "swap_limit" 367 number: 35 368 label: LABEL_OPTIONAL 369 type: TYPE_UINT64 370 json_name: "swapLimit" 371 } 372 } 373 message_type { 374 name: "MemoryEvents" 375 field { 376 name: "low" 377 number: 1 378 label: LABEL_OPTIONAL 379 type: TYPE_UINT64 380 json_name: "low" 381 } 382 field { 383 name: "high" 384 number: 2 385 label: LABEL_OPTIONAL 386 type: TYPE_UINT64 387 json_name: "high" 388 } 389 field { 390 name: "max" 391 number: 3 392 label: LABEL_OPTIONAL 393 type: TYPE_UINT64 394 json_name: "max" 395 } 396 field { 397 name: "oom" 398 number: 4 399 label: LABEL_OPTIONAL 400 type: TYPE_UINT64 401 json_name: "oom" 402 } 403 field { 404 name: "oom_kill" 405 number: 5 406 label: LABEL_OPTIONAL 407 type: TYPE_UINT64 408 json_name: "oomKill" 409 } 410 } 411 message_type { 412 name: "RdmaStat" 413 field { 414 name: "current" 415 number: 1 416 label: LABEL_REPEATED 417 type: TYPE_MESSAGE 418 type_name: ".io.containerd.cgroups.v2.RdmaEntry" 419 json_name: "current" 420 } 421 field { 422 name: "limit" 423 number: 2 424 label: LABEL_REPEATED 425 type: TYPE_MESSAGE 426 type_name: ".io.containerd.cgroups.v2.RdmaEntry" 427 json_name: "limit" 428 } 429 } 430 message_type { 431 name: "RdmaEntry" 432 field { 433 name: "device" 434 number: 1 435 label: LABEL_OPTIONAL 436 type: TYPE_STRING 437 json_name: "device" 438 } 439 field { 440 name: "hca_handles" 441 number: 2 442 label: LABEL_OPTIONAL 443 type: TYPE_UINT32 444 json_name: "hcaHandles" 445 } 446 field { 447 name: "hca_objects" 448 number: 3 449 label: LABEL_OPTIONAL 450 type: TYPE_UINT32 451 json_name: "hcaObjects" 452 } 453 } 454 message_type { 455 name: "IOStat" 456 field { 457 name: "usage" 458 number: 1 459 label: LABEL_REPEATED 460 type: TYPE_MESSAGE 461 type_name: ".io.containerd.cgroups.v2.IOEntry" 462 json_name: "usage" 463 } 464 } 465 message_type { 466 name: "IOEntry" 467 field { 468 name: "major" 469 number: 1 470 label: LABEL_OPTIONAL 471 type: TYPE_UINT64 472 json_name: "major" 473 } 474 field { 475 name: "minor" 476 number: 2 477 label: LABEL_OPTIONAL 478 type: TYPE_UINT64 479 json_name: "minor" 480 } 481 field { 482 name: "rbytes" 483 number: 3 484 label: LABEL_OPTIONAL 485 type: TYPE_UINT64 486 json_name: "rbytes" 487 } 488 field { 489 name: "wbytes" 490 number: 4 491 label: LABEL_OPTIONAL 492 type: TYPE_UINT64 493 json_name: "wbytes" 494 } 495 field { 496 name: "rios" 497 number: 5 498 label: LABEL_OPTIONAL 499 type: TYPE_UINT64 500 json_name: "rios" 501 } 502 field { 503 name: "wios" 504 number: 6 505 label: LABEL_OPTIONAL 506 type: TYPE_UINT64 507 json_name: "wios" 508 } 509 } 510 message_type { 511 name: "HugeTlbStat" 512 field { 513 name: "current" 514 number: 1 515 label: LABEL_OPTIONAL 516 type: TYPE_UINT64 517 json_name: "current" 518 } 519 field { 520 name: "max" 521 number: 2 522 label: LABEL_OPTIONAL 523 type: TYPE_UINT64 524 json_name: "max" 525 } 526 field { 527 name: "pagesize" 528 number: 3 529 label: LABEL_OPTIONAL 530 type: TYPE_STRING 531 json_name: "pagesize" 532 } 533 } 534 options { 535 go_package: "github.com/containerd/cgroups/cgroup2/stats" 536 } 537 syntax: "proto3" 538 }