Skip to content

Commit 6ab06de

Browse files
dmathieusivchari
authored andcommitted
Remove deprecated high cardinality metrics feature gate (open-telemetry#14373)
This feature gate has been deprecated since 0.132.0, which is way more than the 2 releases we require for deprecated feature flags. See open-telemetry#13538
1 parent 4f23f15 commit 6ab06de

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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. receiver/otlp)
7+
component: pkg/service
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove deprecated `telemetry.disableHighCardinalityMetrics` feature gate.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [14373]
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+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: [user]

service/service.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
"go.opentelemetry.io/collector/connector"
2424
"go.opentelemetry.io/collector/exporter"
2525
"go.opentelemetry.io/collector/extension"
26-
"go.opentelemetry.io/collector/featuregate"
2726
"go.opentelemetry.io/collector/pdata/pcommon"
2827
"go.opentelemetry.io/collector/processor"
2928
"go.opentelemetry.io/collector/receiver"
@@ -36,15 +35,6 @@ import (
3635
"go.opentelemetry.io/collector/service/telemetry"
3736
)
3837

39-
// This feature gate is deprecated and will be removed in 1.40.0. Views can now be configured.
40-
var _ = featuregate.GlobalRegistry().MustRegister(
41-
"telemetry.disableHighCardinalityMetrics",
42-
featuregate.StageDeprecated,
43-
featuregate.WithRegisterToVersion("0.133.0"),
44-
featuregate.WithRegisterDescription(
45-
"Controls whether the collector should enable potentially high "+
46-
"cardinality metrics. Deprecated, configure service::telemetry::metrics::views instead."))
47-
4838
// ModuleInfo describes the Go module for a particular component.
4939
type ModuleInfo = moduleinfo.ModuleInfo
5040

0 commit comments

Comments
 (0)