diff --git a/internal/globalgates/globalgates.go b/internal/globalgates/globalgates.go index d018e9dd842..5aef63077c9 100644 --- a/internal/globalgates/globalgates.go +++ b/internal/globalgates/globalgates.go @@ -15,13 +15,11 @@ var NoopTracerProvider = featuregate.GlobalRegistry().MustRegister("service.noop featuregate.WithRegisterToVersion("v0.109.0"), featuregate.WithRegisterDescription("Sets a Noop OpenTelemetry TracerProvider to reduce memory allocations. This featuregate is incompatible with the zPages extension.")) -const UseLocalHostAsDefaultHostID = "component.UseLocalHostAsDefaultHost" - // UseLocalHostAsDefaultHostfeatureGate is the feature gate that controls whether // server-like receivers and extensions such as the OTLP receiver use localhost as the default host for their endpoints. var _ = mustRegisterOrLoad( featuregate.GlobalRegistry(), - UseLocalHostAsDefaultHostID, + "component.UseLocalHostAsDefaultHost", featuregate.StageStable, featuregate.WithRegisterToVersion("v0.110.0"), featuregate.WithRegisterDescription("controls whether server-like receivers and extensions such as the OTLP receiver use localhost as the default host for their endpoints"),