Skip to content

Commit 625bbe6

Browse files
committed
Pass logger to otlp FromMetrics
Followup to grafana/mimir-prometheus#689 Signed-off-by: György Krajcsovits <[email protected]>
1 parent add9fe7 commit 625bbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/distributor/otel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ func otelMetricsToTimeseriesOld(ctx context.Context, tenantID string, addSuffixe
435435
annots, errs := converter.FromMetrics(ctx, md, prometheusremotewrite.Settings{
436436
AddMetricSuffixes: addSuffixes,
437437
EnableCreatedTimestampZeroIngestion: enableCTZeroIngestion,
438-
})
438+
}, logger)
439439
promTS := converter.TimeSeries()
440440
if errs != nil {
441441
dropped := len(multierr.Errors(errs))

0 commit comments

Comments
 (0)