diff --git a/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs b/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs index 85ffa915f5d..69365d4e0ff 100644 --- a/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs +++ b/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs @@ -390,8 +390,7 @@ public static int WriteTags(byte[] buffer, int cursor, Metric metric, ReadOnlyTa if (writeEnclosingBraces) { - buffer[cursor - 1] = - unchecked((byte)'}'); // Note: We write the '}' over the last written comma, which is extra. + buffer[cursor - 1] = unchecked((byte)'}'); // Note: We write the '}' over the last written comma, which is extra. } return cursor;