diff --git a/.chloggen/remove-disable-high-cardinality-metrics-fg.yaml b/.chloggen/remove-disable-high-cardinality-metrics-fg.yaml new file mode 100644 index 000000000000..d641c00bac4b --- /dev/null +++ b/.chloggen/remove-disable-high-cardinality-metrics-fg.yaml @@ -0,0 +1,25 @@ +# Use this changelog template to create an entry for release notes. + +# 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. receiver/otlp) +component: pkg/service + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove deprecated `telemetry.disableHighCardinalityMetrics` feature gate. + +# One or more tracking issues or pull requests related to the change +issues: [14373] + +# (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: + +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [user] diff --git a/service/service.go b/service/service.go index dd0ec2b98045..1c831b4fc299 100644 --- a/service/service.go +++ b/service/service.go @@ -23,7 +23,6 @@ import ( "go.opentelemetry.io/collector/connector" "go.opentelemetry.io/collector/exporter" "go.opentelemetry.io/collector/extension" - "go.opentelemetry.io/collector/featuregate" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/processor" "go.opentelemetry.io/collector/receiver" @@ -36,15 +35,6 @@ import ( "go.opentelemetry.io/collector/service/telemetry" ) -// This feature gate is deprecated and will be removed in 1.40.0. Views can now be configured. -var _ = featuregate.GlobalRegistry().MustRegister( - "telemetry.disableHighCardinalityMetrics", - featuregate.StageDeprecated, - featuregate.WithRegisterToVersion("0.133.0"), - featuregate.WithRegisterDescription( - "Controls whether the collector should enable potentially high "+ - "cardinality metrics. Deprecated, configure service::telemetry::metrics::views instead.")) - // ModuleInfo describes the Go module for a particular component. type ModuleInfo = moduleinfo.ModuleInfo