diff --git a/src/OpenTelemetry.Exporter.Console/ConsoleMetricExporter.cs b/src/OpenTelemetry.Exporter.Console/ConsoleMetricExporter.cs index 2424491b962..3f4076b5f78 100644 --- a/src/OpenTelemetry.Exporter.Console/ConsoleMetricExporter.cs +++ b/src/OpenTelemetry.Exporter.Console/ConsoleMetricExporter.cs @@ -103,7 +103,7 @@ public override ExportResult Export(in Batch batch) bucketsBuilder.Append($"Min: {metricPoint.GetHistogramMin()} Max: {metricPoint.GetHistogramMax()} "); } - bucketsBuilder.Append("\n\r"); + bucketsBuilder.AppendLine(); bool isFirstIteration = true; double previousExplicitBound = default;