metadata.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. type: docker_stats
  2. status:
  3. class: receiver
  4. stability:
  5. alpha: [metrics]
  6. distributions: [contrib, observiq, sumo]
  7. codeowners:
  8. active: [rmfitzpatrick, jamesmoessis]
  9. sem_conv_version: 1.6.1
  10. # Note: there are other, additional resource attributes that the user can configure through the yaml
  11. resource_attributes:
  12. container.runtime:
  13. description: "The runtime of the container. For this receiver, it will always be 'docker'."
  14. type: string
  15. enabled: true
  16. container.id:
  17. description: "The ID of the container."
  18. type: string
  19. enabled: true
  20. container.image.name:
  21. description: "The name of the docker image in use by the container."
  22. type: string
  23. enabled: true
  24. container.name:
  25. description: "The name of the container."
  26. type: string
  27. enabled: true
  28. container.hostname:
  29. description: "The hostname of the container."
  30. type: string
  31. enabled: true
  32. container.image.id:
  33. description: "The ID of the container image."
  34. type: string
  35. enabled: false
  36. container.command_line:
  37. description: "The full command executed by the container."
  38. type: string
  39. enabled: false
  40. attributes:
  41. core:
  42. description: "The CPU core number when utilising per-CPU metrics."
  43. type: string
  44. device_major:
  45. description: "Device major number for block IO operations."
  46. type: string
  47. device_minor:
  48. description: "Device minor number for block IO operations."
  49. type: string
  50. interface:
  51. description: "Network interface."
  52. type: string
  53. operation:
  54. description: "Type of BlockIO operation."
  55. type: string
  56. metrics:
  57. # CPU
  58. container.cpu.usage.system:
  59. enabled: false
  60. description: "System CPU usage, as reported by docker."
  61. extended_documentation: "Note this is the usage for the system, not the container."
  62. unit: ns
  63. sum:
  64. value_type: int
  65. monotonic: true
  66. aggregation_temporality: cumulative
  67. container.cpu.usage.total:
  68. enabled: true
  69. description: "Total CPU time consumed."
  70. unit: ns
  71. sum:
  72. value_type: int
  73. monotonic: true
  74. aggregation_temporality: cumulative
  75. container.cpu.usage.kernelmode:
  76. enabled: true
  77. description: >-
  78. Time spent by tasks of the cgroup in kernel mode (Linux).
  79. Time spent by all container processes in kernel mode (Windows).
  80. unit: ns
  81. sum:
  82. value_type: int
  83. monotonic: true
  84. aggregation_temporality: cumulative
  85. container.cpu.usage.usermode:
  86. enabled: true
  87. description: >-
  88. Time spent by tasks of the cgroup in user mode (Linux).
  89. Time spent by all container processes in user mode (Windows).
  90. unit: ns
  91. sum:
  92. value_type: int
  93. monotonic: true
  94. aggregation_temporality: cumulative
  95. container.cpu.usage.percpu:
  96. enabled: false
  97. description: "Per-core CPU usage by the container (Only available with cgroups v1)."
  98. unit: ns
  99. sum:
  100. value_type: int
  101. monotonic: true
  102. aggregation_temporality: cumulative
  103. attributes:
  104. - core
  105. container.cpu.throttling_data.periods:
  106. enabled: false
  107. description: "Number of periods with throttling active."
  108. unit: "{periods}"
  109. sum:
  110. value_type: int
  111. monotonic: true
  112. aggregation_temporality: cumulative
  113. container.cpu.throttling_data.throttled_periods:
  114. enabled: false
  115. description: "Number of periods when the container hits its throttling limit."
  116. unit: "{periods}"
  117. sum:
  118. value_type: int
  119. monotonic: true
  120. aggregation_temporality: cumulative
  121. container.cpu.throttling_data.throttled_time:
  122. enabled: false
  123. description: "Aggregate time the container was throttled."
  124. unit: ns
  125. sum:
  126. value_type: int
  127. monotonic: true
  128. aggregation_temporality: cumulative
  129. container.cpu.utilization:
  130. enabled: true
  131. description: "Percent of CPU used by the container."
  132. unit: "1"
  133. gauge:
  134. value_type: double
  135. container.cpu.limit:
  136. enabled: false
  137. description: "CPU limit set for the container."
  138. extended_documentation: "This metric is only reported if the container has limits set with -cpus, -cpuset-cpus or -cpu-quota."
  139. unit: "{cpus}"
  140. gauge:
  141. value_type: double
  142. container.cpu.shares:
  143. enabled: false
  144. description: "CPU shares set for the container."
  145. unit: "1"
  146. gauge:
  147. value_type: int
  148. # Memory
  149. container.memory.usage.limit:
  150. enabled: true
  151. description: "Memory limit of the container."
  152. unit: By
  153. sum:
  154. value_type: int
  155. aggregation_temporality: cumulative
  156. monotonic: false
  157. container.memory.usage.total:
  158. enabled: true
  159. description: "Memory usage of the container. This excludes the cache."
  160. unit: By
  161. sum:
  162. value_type: int
  163. aggregation_temporality: cumulative
  164. monotonic: false
  165. container.memory.usage.max:
  166. enabled: false
  167. description: "Maximum memory usage."
  168. unit: By
  169. sum:
  170. value_type: int
  171. aggregation_temporality: cumulative
  172. monotonic: false
  173. container.memory.percent:
  174. enabled: true
  175. description: "Percentage of memory used."
  176. unit: 1
  177. gauge:
  178. value_type: double
  179. container.memory.cache:
  180. enabled: false
  181. description: "The amount of memory used by the processes of this control group that can be associated precisely with a block on a block device (Only available with cgroups v1)."
  182. unit: By
  183. sum:
  184. value_type: int
  185. aggregation_temporality: cumulative
  186. monotonic: false
  187. container.memory.rss:
  188. enabled: false
  189. description: "The amount of memory that doesn’t correspond to anything on disk: stacks, heaps, and anonymous memory maps (Only available with cgroups v1)."
  190. unit: By
  191. sum:
  192. value_type: int
  193. aggregation_temporality: cumulative
  194. monotonic: false
  195. container.memory.rss_huge:
  196. enabled: false
  197. description: "Number of bytes of anonymous transparent hugepages in this cgroup (Only available with cgroups v1)."
  198. unit: By
  199. sum:
  200. value_type: int
  201. aggregation_temporality: cumulative
  202. monotonic: false
  203. container.memory.dirty:
  204. enabled: false
  205. description: "Bytes that are waiting to get written back to the disk, from this cgroup (Only available with cgroups v1)."
  206. unit: By
  207. sum:
  208. value_type: int
  209. aggregation_temporality: cumulative
  210. monotonic: false
  211. container.memory.writeback:
  212. enabled: false
  213. description: "Number of bytes of file/anon cache that are queued for syncing to disk in this cgroup (Only available with cgroups v1)."
  214. unit: By
  215. sum:
  216. value_type: int
  217. aggregation_temporality: cumulative
  218. monotonic: false
  219. container.memory.mapped_file:
  220. enabled: false
  221. description: "Indicates the amount of memory mapped by the processes in the control group (Only available with cgroups v1)."
  222. unit: By
  223. sum:
  224. value_type: int
  225. aggregation_temporality: cumulative
  226. monotonic: false
  227. container.memory.pgpgin:
  228. enabled: false
  229. description: "Number of pages read from disk by the cgroup (Only available with cgroups v1)."
  230. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt)."
  231. unit: "{operations}"
  232. sum:
  233. value_type: int
  234. aggregation_temporality: cumulative
  235. monotonic: true
  236. container.memory.pgpgout:
  237. enabled: false
  238. description: "Number of pages written to disk by the cgroup (Only available with cgroups v1)."
  239. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt)."
  240. unit: "{operations}"
  241. sum:
  242. value_type: int
  243. aggregation_temporality: cumulative
  244. monotonic: true
  245. container.memory.pgfault:
  246. enabled: false
  247. description: "Indicate the number of times that a process of the cgroup triggered a page fault."
  248. unit: "{faults}"
  249. sum:
  250. value_type: int
  251. aggregation_temporality: cumulative
  252. monotonic: true
  253. container.memory.pgmajfault:
  254. enabled: false
  255. description: "Indicate the number of times that a process of the cgroup triggered a major fault."
  256. unit: "{faults}"
  257. sum:
  258. value_type: int
  259. aggregation_temporality: cumulative
  260. monotonic: true
  261. container.memory.inactive_anon:
  262. enabled: false
  263. description: "The amount of anonymous memory that has been identified as inactive by the kernel."
  264. unit: By
  265. sum:
  266. value_type: int
  267. aggregation_temporality: cumulative
  268. monotonic: false
  269. container.memory.active_anon:
  270. enabled: false
  271. description: "The amount of anonymous memory that has been identified as active by the kernel."
  272. unit: By
  273. sum:
  274. value_type: int
  275. aggregation_temporality: cumulative
  276. monotonic: false
  277. container.memory.inactive_file:
  278. enabled: false
  279. description: "Cache memory that has been identified as inactive by the kernel."
  280. extended_documentation: "[More docs](https://docs.docker.com/config/containers/runmetrics/)"
  281. unit: By
  282. sum:
  283. value_type: int
  284. aggregation_temporality: cumulative
  285. monotonic: false
  286. container.memory.active_file:
  287. enabled: false
  288. description: "Cache memory that has been identified as active by the kernel."
  289. extended_documentation: "[More docs](https://docs.docker.com/config/containers/runmetrics/)"
  290. unit: By
  291. sum:
  292. value_type: int
  293. aggregation_temporality: cumulative
  294. monotonic: false
  295. container.memory.unevictable:
  296. enabled: false
  297. description: "The amount of memory that cannot be reclaimed."
  298. unit: By
  299. sum:
  300. value_type: int
  301. aggregation_temporality: cumulative
  302. monotonic: false
  303. container.memory.hierarchical_memory_limit:
  304. enabled: false
  305. description: "The maximum amount of physical memory that can be used by the processes of this control group (Only available with cgroups v1)."
  306. unit: By
  307. sum:
  308. value_type: int
  309. aggregation_temporality: cumulative
  310. monotonic: false
  311. container.memory.hierarchical_memsw_limit:
  312. enabled: false
  313. description: "The maximum amount of RAM + swap that can be used by the processes of this control group (Only available with cgroups v1)."
  314. unit: By
  315. sum:
  316. value_type: int
  317. aggregation_temporality: cumulative
  318. monotonic: false
  319. container.memory.total_cache:
  320. enabled: true
  321. description: "Total amount of memory used by the processes of this cgroup (and descendants) that can be associated with a block on a block device. Also accounts for memory used by tmpfs (Only available with cgroups v1)."
  322. unit: By
  323. sum:
  324. value_type: int
  325. aggregation_temporality: cumulative
  326. monotonic: false
  327. container.memory.total_rss:
  328. enabled: false
  329. description: "The amount of memory that doesn’t correspond to anything on disk: stacks, heaps, and anonymous memory maps. Includes descendant cgroups (Only available with cgroups v1)."
  330. unit: By
  331. sum:
  332. value_type: int
  333. aggregation_temporality: cumulative
  334. monotonic: false
  335. container.memory.total_rss_huge:
  336. enabled: false
  337. description: "Number of bytes of anonymous transparent hugepages in this cgroup and descendant cgroups (Only available with cgroups v1)."
  338. unit: By
  339. sum:
  340. value_type: int
  341. aggregation_temporality: cumulative
  342. monotonic: false
  343. container.memory.total_dirty:
  344. enabled: false
  345. description: "Bytes that are waiting to get written back to the disk, from this cgroup and descendants (Only available with cgroups v1)."
  346. unit: By
  347. sum:
  348. value_type: int
  349. aggregation_temporality: cumulative
  350. monotonic: false
  351. container.memory.total_writeback:
  352. enabled: false
  353. description: "Number of bytes of file/anon cache that are queued for syncing to disk in this cgroup and descendants (Only available with cgroups v1)."
  354. unit: By
  355. sum:
  356. value_type: int
  357. aggregation_temporality: cumulative
  358. monotonic: false
  359. container.memory.total_mapped_file:
  360. enabled: false
  361. description: "Indicates the amount of memory mapped by the processes in the control group and descendant groups (Only available with cgroups v1)."
  362. unit: By
  363. sum:
  364. value_type: int
  365. aggregation_temporality: cumulative
  366. monotonic: false
  367. container.memory.total_pgpgin:
  368. enabled: false
  369. description: "Number of pages read from disk by the cgroup and descendant groups (Only available with cgroups v1)."
  370. unit: "{operations}"
  371. sum:
  372. value_type: int
  373. aggregation_temporality: cumulative
  374. monotonic: true
  375. container.memory.total_pgpgout:
  376. enabled: false
  377. description: "Number of pages written to disk by the cgroup and descendant groups (Only available with cgroups v1)."
  378. unit: "{operations}"
  379. sum:
  380. value_type: int
  381. aggregation_temporality: cumulative
  382. monotonic: true
  383. container.memory.total_pgfault:
  384. enabled: false
  385. description: "Indicate the number of times that a process of the cgroup (or descendant cgroups) triggered a page fault (Only available with cgroups v1)."
  386. unit: "{faults}"
  387. sum:
  388. value_type: int
  389. aggregation_temporality: cumulative
  390. monotonic: true
  391. container.memory.total_pgmajfault:
  392. enabled: false
  393. description: "Indicate the number of times that a process of the cgroup (or descendant cgroups) triggered a major fault (Only available with cgroups v1)."
  394. unit: "{faults}"
  395. sum:
  396. value_type: int
  397. aggregation_temporality: cumulative
  398. monotonic: true
  399. container.memory.total_inactive_anon:
  400. enabled: false
  401. description: "The amount of anonymous memory that has been identified as inactive by the kernel. Includes descendant cgroups (Only available with cgroups v1)."
  402. unit: By
  403. sum:
  404. value_type: int
  405. aggregation_temporality: cumulative
  406. monotonic: false
  407. container.memory.total_active_anon:
  408. enabled: false
  409. description: "The amount of anonymous memory that has been identified as active by the kernel. Includes descendant cgroups (Only available with cgroups v1)."
  410. unit: By
  411. sum:
  412. value_type: int
  413. aggregation_temporality: cumulative
  414. monotonic: false
  415. container.memory.total_inactive_file:
  416. enabled: false
  417. description: "Cache memory that has been identified as inactive by the kernel. Includes descendant cgroups (Only available with cgroups v1)."
  418. extended_documentation: "[More docs](https://docs.docker.com/config/containers/runmetrics/)."
  419. unit: By
  420. sum:
  421. value_type: int
  422. aggregation_temporality: cumulative
  423. monotonic: false
  424. container.memory.total_active_file:
  425. enabled: false
  426. description: "Cache memory that has been identified as active by the kernel. Includes descendant cgroups (Only available with cgroups v1)."
  427. extended_documentation: "[More docs](https://docs.docker.com/config/containers/runmetrics/)."
  428. unit: By
  429. sum:
  430. value_type: int
  431. aggregation_temporality: cumulative
  432. monotonic: false
  433. container.memory.total_unevictable:
  434. enabled: false
  435. description: "The amount of memory that cannot be reclaimed. Includes descendant cgroups (Only available with cgroups v1)."
  436. unit: By
  437. sum:
  438. value_type: int
  439. aggregation_temporality: cumulative
  440. monotonic: false
  441. container.memory.anon:
  442. enabled: false
  443. description: "Amount of memory used in anonymous mappings such as brk(), sbrk(), and mmap(MAP_ANONYMOUS) (Only available with cgroups v2)."
  444. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v2.txt)"
  445. unit: By
  446. sum:
  447. value_type: int
  448. aggregation_temporality: cumulative
  449. monotonic: false
  450. container.memory.file:
  451. enabled: true
  452. description: "Amount of memory used to cache filesystem data, including tmpfs and shared memory (Only available with cgroups v2)."
  453. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v2.txt)"
  454. unit: By
  455. sum:
  456. value_type: int
  457. aggregation_temporality: cumulative
  458. monotonic: false
  459. # BlockIO (cgroup v1) and IO (cgroup v2) controllers
  460. container.blockio.io_merged_recursive:
  461. enabled: false
  462. description: "Number of bios/requests merged into requests belonging to this cgroup and its descendant cgroups (Only available with cgroups v1)."
  463. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  464. unit: "{operations}"
  465. sum:
  466. value_type: int
  467. monotonic: true
  468. aggregation_temporality: cumulative
  469. attributes:
  470. - device_major
  471. - device_minor
  472. - operation
  473. container.blockio.io_queued_recursive:
  474. enabled: false
  475. description: "Number of requests queued up for this cgroup and its descendant cgroups (Only available with cgroups v1)."
  476. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  477. unit: "{operations}"
  478. sum:
  479. value_type: int
  480. monotonic: true
  481. aggregation_temporality: cumulative
  482. attributes:
  483. - device_major
  484. - device_minor
  485. - operation
  486. container.blockio.io_service_bytes_recursive:
  487. enabled: true
  488. description: "Number of bytes transferred to/from the disk by the group and descendant groups."
  489. extended_documentation: >-
  490. More docs
  491. for [cgroups v1](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)
  492. and [cgroups v2](https://www.kernel.org/doc/Documentation/cgroup-v2.txt)
  493. unit: By
  494. sum:
  495. value_type: int
  496. monotonic: true
  497. aggregation_temporality: cumulative
  498. attributes:
  499. - device_major
  500. - device_minor
  501. - operation
  502. container.blockio.io_service_time_recursive:
  503. enabled: false
  504. description: "Total amount of time in nanoseconds between request dispatch and request completion for the IOs done by this cgroup and descendant cgroups (Only available with cgroups v1)."
  505. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  506. unit: ns
  507. sum:
  508. value_type: int
  509. monotonic: true
  510. aggregation_temporality: cumulative
  511. attributes:
  512. - device_major
  513. - device_minor
  514. - operation
  515. container.blockio.io_serviced_recursive:
  516. enabled: false
  517. description: "Number of IOs (bio) issued to the disk by the group and descendant groups (Only available with cgroups v1)."
  518. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  519. unit: "{operations}"
  520. sum:
  521. value_type: int
  522. monotonic: true
  523. aggregation_temporality: cumulative
  524. attributes:
  525. - device_major
  526. - device_minor
  527. - operation
  528. container.blockio.io_time_recursive:
  529. enabled: false
  530. description: "Disk time allocated to cgroup (and descendant cgroups) per device in milliseconds (Only available with cgroups v1)."
  531. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  532. unit: ms
  533. sum:
  534. value_type: int
  535. monotonic: true
  536. aggregation_temporality: cumulative
  537. attributes:
  538. - device_major
  539. - device_minor
  540. - operation
  541. container.blockio.io_wait_time_recursive:
  542. enabled: false
  543. description: "Total amount of time the IOs for this cgroup (and descendant cgroups) spent waiting in the scheduler queues for service (Only available with cgroups v1)."
  544. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  545. unit: ns
  546. sum:
  547. value_type: int
  548. monotonic: true
  549. aggregation_temporality: cumulative
  550. attributes:
  551. - device_major
  552. - device_minor
  553. - operation
  554. container.blockio.sectors_recursive:
  555. enabled: false
  556. description: "Number of sectors transferred to/from disk by the group and descendant groups (Only available with cgroups v1)."
  557. extended_documentation: "[More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt)."
  558. unit: "{sectors}"
  559. sum:
  560. value_type: int
  561. monotonic: true
  562. aggregation_temporality: cumulative
  563. attributes:
  564. - device_major
  565. - device_minor
  566. - operation
  567. # Network
  568. container.network.io.usage.rx_bytes:
  569. enabled: true
  570. description: "Bytes received by the container."
  571. unit: By
  572. sum:
  573. value_type: int
  574. monotonic: true
  575. aggregation_temporality: cumulative
  576. attributes:
  577. - interface
  578. container.network.io.usage.tx_bytes:
  579. enabled: true
  580. description: "Bytes sent."
  581. unit: By
  582. sum:
  583. value_type: int
  584. monotonic: true
  585. aggregation_temporality: cumulative
  586. attributes:
  587. - interface
  588. container.network.io.usage.rx_dropped:
  589. enabled: true
  590. description: "Incoming packets dropped."
  591. unit: "{packets}"
  592. sum:
  593. value_type: int
  594. monotonic: true
  595. aggregation_temporality: cumulative
  596. attributes:
  597. - interface
  598. container.network.io.usage.tx_dropped:
  599. enabled: true
  600. description: "Outgoing packets dropped."
  601. unit: "{packets}"
  602. sum:
  603. value_type: int
  604. monotonic: true
  605. aggregation_temporality: cumulative
  606. attributes:
  607. - interface
  608. container.network.io.usage.rx_errors:
  609. enabled: false
  610. description: "Received errors."
  611. unit: "{errors}"
  612. sum:
  613. value_type: int
  614. monotonic: true
  615. aggregation_temporality: cumulative
  616. attributes:
  617. - interface
  618. container.network.io.usage.tx_errors:
  619. enabled: false
  620. description: "Sent errors."
  621. unit: "{errors}"
  622. sum:
  623. value_type: int
  624. monotonic: true
  625. aggregation_temporality: cumulative
  626. attributes:
  627. - interface
  628. container.network.io.usage.rx_packets:
  629. enabled: false
  630. description: "Packets received."
  631. unit: "{packets}"
  632. sum:
  633. value_type: int
  634. monotonic: true
  635. aggregation_temporality: cumulative
  636. attributes:
  637. - interface
  638. container.network.io.usage.tx_packets:
  639. enabled: false
  640. description: "Packets sent."
  641. unit: "{packets}"
  642. sum:
  643. value_type: int
  644. monotonic: true
  645. aggregation_temporality: cumulative
  646. attributes:
  647. - interface
  648. # Pids
  649. container.pids.count:
  650. enabled: false
  651. description: "Number of pids in the container's cgroup."
  652. extended_documentation: "It requires docker API 1.23 or higher and kernel version >= 4.3 with pids cgroup supported. [More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt)"
  653. unit: "{pids}"
  654. sum:
  655. value_type: int
  656. aggregation_temporality: cumulative
  657. monotonic: false
  658. container.pids.limit:
  659. enabled: false
  660. description: "Maximum number of pids in the container's cgroup."
  661. extended_documentation: "It requires docker API 1.23 or higher and kernel version >= 4.3 with pids cgroup supported. [More docs](https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt)"
  662. unit: "{pids}"
  663. sum:
  664. value_type: int
  665. aggregation_temporality: cumulative
  666. monotonic: false
  667. # Base
  668. container.uptime:
  669. enabled: false
  670. description: "Time elapsed since container start time."
  671. unit: s
  672. gauge:
  673. value_type: double
  674. # Container
  675. container.restarts:
  676. enabled: false
  677. description: "Number of restarts for the container."
  678. unit: "{restarts}"
  679. sum:
  680. value_type: int
  681. monotonic: true
  682. aggregation_temporality: cumulative