-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[receiver/hostmetrics] Remove deprecated process memory metrics (#18531)
This is the last step of renaming the metrics process.memory.physical_usage and process.memory.virtual_usage to spec-compliant names process.memory.usage and process.memory.virtual. It should be released in v0.72.0.
- Loading branch information
1 parent
57af8a9
commit e920e75
Showing
8 changed files
with
20 additions
and
276 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
.chloggen/remove-deprecated-hostmetrics-receiver-metrics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: breaking | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: hostmetricsreceiver | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Remove deprecated process memory metrics | ||
|
||
# One or more tracking issues related to the change | ||
issues: [14327] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
The metrics `process.memory.physical_usage` and `process.memory.virtual_usage` have been deprecated since v0.64.0. | ||
They are now being removed. You should use the following metrics instead: `process.memory.usage`, `process.memory.virtual`. | ||
For details, see the [docs](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.71.0/receiver/hostmetricsreceiver#transition-to-process-memory-metric-names-aligned-with-opentelemetry-specification). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 0 additions & 132 deletions
132
...ostmetricsreceiver/internal/scraper/processscraper/internal/metadata/generated_metrics.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.