Skip to content

Commit ad6bbc6

Browse files
crobert-1vincentfree
authored andcommitted
[receiver/prometheus] Upgrade receiver.prometheus.removeLegacyResourceAttributes feature flag (open-telemetry#39803)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This feature flag was introduced in open-telemetry#32829 to resolve open-telemetry#32814. It was first released in `v0.103.0`, on June 19, 2024 which was 10 months ago. The feature gate is to remove deprecated resource attributes in favor of the semantic convention equivalents. This is a breaking change and the feature flag will now be enabled by default. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue open-telemetry#32814 <!--Describe what testing was performed and which tests were added.--> #### Testing Updated testing to account for the feature flag being enabled by default.
1 parent 951491d commit ad6bbc6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
7+
component: receiver/prometheus
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Upgrade `receiver.prometheusreceiver.RemoveLegacyResourceAttributes` feature gate to `beta` stability (enabled by default)
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [32814]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext: |
19+
Disable the `receiver.promtheusreceiver.RemoveLegacyResourceAttributes` feature gate to restore previous behavior. This feature gate will be removed in a future release.
20+
The feature gate is used to replace the following legacy resource attributes:
21+
`net.host.name` -> `server.address`
22+
`net.host.port` -> `server.port`
23+
`http.scheme` -> `url.scheme`
24+
25+
# If your change doesn't affect end users or the exported elements of any package,
26+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
27+
# Optional: The change log or logs in which this entry should be included.
28+
# e.g. '[user]' or '[user, api]'
29+
# Include 'user' if the change is relevant to end users.
30+
# Include 'api' if there is a change to a library API.
31+
# Default: '[user]'
32+
change_logs: []

0 commit comments

Comments
 (0)