diff --git a/otelcollector/prometheusreceiver/metrics_receiver.go b/otelcollector/prometheusreceiver/metrics_receiver.go index 888327951..0d396a796 100644 --- a/otelcollector/prometheusreceiver/metrics_receiver.go +++ b/otelcollector/prometheusreceiver/metrics_receiver.go @@ -167,7 +167,7 @@ func (r *pReceiver) initPrometheusComponents(ctx context.Context, logger *slog.L HTTPClientOptions: []commonconfig.HTTPClientOption{ commonconfig.WithUserAgent(r.settings.BuildInfo.Command + "/" + r.settings.BuildInfo.Version), }, - EnableCreatedTimestampZeroIngestion: true, + EnableCreatedTimestampZeroIngestion: useCreatedMetricGate.IsEnabled(), } if enableNativeHistogramsGate.IsEnabled() {