From 2b302fc4a78915f0f70ab107c66cb5702fe99484 Mon Sep 17 00:00:00 2001 From: Michael McGee Date: Mon, 11 Dec 2023 19:34:10 +0000 Subject: [PATCH] metrics: remove CR from prometheus output --- src/app/fdctl/run/tiles/fd_metric.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/fdctl/run/tiles/fd_metric.c b/src/app/fdctl/run/tiles/fd_metric.c index 013cd1a9d2..718b6f7fbd 100644 --- a/src/app/fdctl/run/tiles/fd_metric.c +++ b/src/app/fdctl/run/tiles/fd_metric.c @@ -242,13 +242,13 @@ prometheus_print( fd_topo_t * topo, long result = prometheus_print1( topo, out, out_len, ULONG_MAX, FD_METRICS_ALL_TOTAL, FD_METRICS_ALL, PRINT_TILE ); if( FD_UNLIKELY( result<0 ) ) return result; - PRINT( "\r\n" ); + PRINT( "\n" ); result = prometheus_print1( topo, out, out_len, ULONG_MAX, FD_METRICS_ALL_LINK_IN_TOTAL, FD_METRICS_ALL_LINK_IN, PRINT_LINK_IN ); if( FD_UNLIKELY( result<0 ) ) return result; - PRINT( "\r\n" ); + PRINT( "\n" ); result = prometheus_print1( topo, out, out_len, ULONG_MAX, FD_METRICS_ALL_LINK_OUT_TOTAL, FD_METRICS_ALL_LINK_OUT, PRINT_LINK_OUT ); if( FD_UNLIKELY( result<0 ) ) return result; - PRINT( "\r\n" ); + PRINT( "\n" ); result = prometheus_print1( topo, out, out_len, FD_TOPO_TILE_KIND_QUIC, FD_METRICS_QUIC_TOTAL, FD_METRICS_QUIC, PRINT_TILE ); if( FD_UNLIKELY( result<0 ) ) return result;