Skip to content

Commit

Permalink
Update container.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarwala committed Sep 16, 2024
1 parent d9f4546 commit a936dc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/manifests/collector/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit a936dc9

Please sign in to comment.