Skip to content

Commit

Permalink
improve description
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Apr 30, 2024
1 parent fa32823 commit dfbbb63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/system/system-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ This metric is [opt-in][MetricOptIn].
<!-- semconv metric.system.memory.shared(metric_table) -->
| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `system.memory.shared` | UpDownCounter | `By` | Reports shared memory. Memory used (mostly) by tmpfs. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `system.memory.shared` | UpDownCounter | `By` | Shared memory used (mostly by tmpfs). [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Equivalent of `shared` from [`free` command](https://man7.org/linux/man-pages/man1/free.1.html) or
`Shmem` from [`/proc/meminfo`](https://man7.org/linux/man-pages/man5/proc.5.html)"
<!-- endsemconv -->

<!-- semconv metric.system.memory.shared(full) -->
Expand Down
5 changes: 4 additions & 1 deletion model/metrics/system-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ groups:
type: metric
metric_name: system.memory.shared
stability: experimental
brief: "Reports shared memory. Memory used (mostly) by tmpfs."
brief: "Shared memory used (mostly by tmpfs)."
note: |
Equivalent of `shared` from [`free` command](https://man7.org/linux/man-pages/man1/free.1.html) or
`Shmem` from [`/proc/meminfo`](https://man7.org/linux/man-pages/man5/proc.5.html)"
instrument: updowncounter
unit: "By"

Expand Down

0 comments on commit dfbbb63

Please sign in to comment.