diff --git a/internal/manifests/collector/container.go b/internal/manifests/collector/container.go index de53314ffb..7cb809c5a9 100644 --- a/internal/manifests/collector/container.go +++ b/internal/manifests/collector/container.go @@ -186,6 +186,10 @@ func Container(cfg config.Config, logger logr.Logger, otelcol v1beta1.OpenTeleme ) } + if featuregate.SetNativeHistogram.IsEnabled() { + args = append(args, "--feature-gates=receiver.prometheusreceiver.EnableNativeHistograms") + } + envVars = append(envVars, proxy.ReadProxyVarsFromEnv()...) return corev1.Container{ Name: naming.Container(),