Skip to content

Commit

Permalink
fix toc
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Apr 29, 2024
1 parent fcbab37 commit b59e2d7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/attributes-registry/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
| `free` | free | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `buffers` | buffers | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `cached` | cached | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `shared` | shared | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, report shared memory usage with `metric.system.memory.shared` metric |
<!-- endsemconv -->

## Paging attributes
Expand Down
5 changes: 4 additions & 1 deletion docs/system/system-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Resource attributes related to a host, SHOULD be reported under the `host.*` nam
- [Memory Metrics](#memory-metrics)
- [Metric: `system.memory.usage`](#metric-systemmemoryusage)
- [Metric: `system.memory.limit`](#metric-systemmemorylimit)
- [Metric: `system.memory.shared`](#metric-systemmemoryshared)
- [Metric: `system.memory.utilization`](#metric-systemmemoryutilization)
- [Paging/Swap Metrics](#pagingswap-metrics)
- [Metric: `system.paging.usage`](#metric-systempagingusage)
Expand Down Expand Up @@ -204,6 +205,7 @@ available on the system, that is `system.memory.limit`.
| `free` | free | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `buffers` | buffers | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `cached` | cached | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `shared` | shared | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, report shared memory usage with `metric.system.memory.shared` metric |
<!-- endsemconv -->

### Metric: `system.memory.limit`
Expand All @@ -228,7 +230,7 @@ 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. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `system.memory.shared` | UpDownCounter | `By` | Reports shared memory. Memory used (mostly) by tmpfs. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
<!-- endsemconv -->

<!-- semconv metric.system.memory.shared(full) -->
Expand Down Expand Up @@ -257,6 +259,7 @@ This metric is [recommended][MetricRecommended].
| `free` | free | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `buffers` | buffers | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `cached` | cached | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `shared` | shared | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Removed, report shared memory usage with `metric.system.memory.shared` metric |
<!-- endsemconv -->

## Paging/Swap Metrics
Expand Down
2 changes: 1 addition & 1 deletion model/metrics/system-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ groups:
type: metric
metric_name: system.memory.shared
stability: experimental
brief: "Reports shared memory."
brief: "Reports shared memory. Memory used (mostly) by tmpfs."
instrument: updowncounter
unit: "By"

Expand Down
4 changes: 4 additions & 0 deletions model/registry/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ groups:
- id: cached
value: 'cached'
stability: experimental
- id: shared
value: 'shared'
stability: experimental
deprecated: 'Removed, report shared memory usage with `metric.system.memory.shared` metric'
stability: experimental
brief: "The memory state"
examples: ["free", "cached"]
Expand Down

0 comments on commit b59e2d7

Please sign in to comment.