Skip to content

Commit

Permalink
remove go.memory.released
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed May 21, 2024
1 parent a708352 commit 7a4fb6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
16 changes: 0 additions & 16 deletions docs/runtime/go-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ These metrics are obtained from Go's [`runtime/metrics`][RuntimeMetrics] package

- [Go Memory](#go-memory)
- [Metric: `go.memory.used`](#metric-gomemoryused)
- [Metric: `go.memory.released`](#metric-gomemoryreleased)
- [Metric: `go.memory.limit`](#metric-gomemorylimit)
- [Metric: `go.memory.allocated`](#metric-gomemoryallocated)
- [Metric: `go.memory.allocations`](#metric-gomemoryallocations)
Expand Down Expand Up @@ -61,21 +60,6 @@ This metric is [recommended][MetricRecommended].
| `other` | Memory used by the Go runtime, excluding other categories of memory usage. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
<!-- endsemconv -->

### Metric: `go.memory.released`

This metric is [recommended][MetricRecommended].

<!-- semconv metric.go.memory.released(metric_table) -->
| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `go.memory.released` | UpDownCounter | `By` | Memory that is completely free and has been returned to the underlying system. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Computed from `/memory/classes/heap/released:bytes`.
<!-- endsemconv -->

<!-- semconv metric.go.memory.released(full) -->
<!-- endsemconv -->

### Metric: `go.memory.limit`

This metric is [recommended][MetricRecommended].
Expand Down
10 changes: 0 additions & 10 deletions model/metrics/go-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ groups:
requirement_level: recommended
stability: experimental

- id: metric.go.memory.released
type: metric
metric_name: go.memory.released
brief: "Memory that is completely free and has been returned to the underlying system."
note: >
Computed from `/memory/classes/heap/released:bytes`.
instrument: updowncounter
unit: "By"
stability: experimental

- id: metric.go.memory.limit
type: metric
metric_name: go.memory.limit
Expand Down

0 comments on commit 7a4fb6d

Please sign in to comment.