You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`linux.memory.slab.state`| string | The Linux Slab memory state |`reclaimable`; `unreclaimable`||
16
+
17
+
`linux.memory.slab.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|`system.linux.memory.slab.usage`| UpDownCounter |`By`| Reports the memory used by the Linux kernel for managing caches of frequently used objects. [1]||
1498
+
1499
+
1500
+
**[1]:** The sum over the `reclaimable` and `unreclaimable` state values in `linux.memory.slab.usage` SHOULD be equal to the total slab memory available on the system.
1501
+
Note that the total slab memory is not constant and may vary over time.
1502
+
See also the [Slab allocator](https://blogs.oracle.com/linux/post/understanding-linux-kernel-memory-statistics) and `Slab` in [/proc/meminfo](https://man7.org/linux/man-pages/man5/proc.5.html).
|[`linux.memory.slab.state`](/docs/attributes-registry/linux.md)| string | The Linux Slab memory state |`reclaimable`; `unreclaimable`|`Recommended`||
1521
+
1522
+
`linux.memory.slab.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Copy file name to clipboardexpand all lines: model/metrics/system-metrics.yaml
+14
Original file line number
Diff line number
Diff line change
@@ -342,3 +342,17 @@ groups:
342
342
instrument: updowncounter
343
343
unit: "By"
344
344
attributes: []
345
+
346
+
- id: metric.system.linux.memory.slab.usage
347
+
type: metric
348
+
metric_name: system.linux.memory.slab.usage
349
+
stability: experimental
350
+
brief: "Reports the memory used by the Linux kernel for managing caches of frequently used objects."
351
+
note: |
352
+
The sum over the `reclaimable` and `unreclaimable` state values in `linux.memory.slab.usage` SHOULD be equal to the total slab memory available on the system.
353
+
Note that the total slab memory is not constant and may vary over time.
354
+
See also the [Slab allocator](https://blogs.oracle.com/linux/post/understanding-linux-kernel-memory-statistics) and `Slab` in [/proc/meminfo](https://man7.org/linux/man-pages/man5/proc.5.html).
0 commit comments