Skip to content

Commit

Permalink
chore: fix pass metadata requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Juraj Michalek committed Nov 19, 2023
1 parent a05570c commit 90c79d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/prometheusremotewriteexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (prwe *prwExporter) PushMetrics(ctx context.Context, md pmetric.Metrics) er
m = prometheusremotewrite.OtelMetricsToMetadata(md, prwe.exporterSettings.AddMetricSuffixes)
}
// Call export even if a conversion error, since there may be points that were successfully converted.
return multierr.Combine(err, prwe.handleExport(ctx, tsMap, nil))
return multierr.Combine(err, prwe.handleExport(ctx, tsMap, m))
}
}

Expand Down

0 comments on commit 90c79d7

Please sign in to comment.