From be9cd041509fa35cec5cb2ba2886323aa6e9173e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Dec 2021 09:21:08 +0100 Subject: [PATCH] -fix ftbfs --- src/exchange/taler-exchange-httpd_metrics.c | 30 +++++++-------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/src/exchange/taler-exchange-httpd_metrics.c b/src/exchange/taler-exchange-httpd_metrics.c index 2a828aa3f..df37280ca 100644 --- a/src/exchange/taler-exchange-httpd_metrics.c +++ b/src/exchange/taler-exchange-httpd_metrics.c @@ -45,24 +45,15 @@ TEH_handler_metrics (struct TEH_RequestContext *rc, (void) args; GNUNET_asprintf (&reply, "# HELP taler_exchange_serialization_failures " - " number of database serialization errors by -type\n" - "# TYPE taler_exchange_serialization_failures -counter\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" - "taler_exchange_serialization_failures{type='%s'} -%llu\n" + " number of database serialization errors by type\n" + "# TYPE taler_exchange_serialization_failures counter\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" + "taler_exchange_serialization_failures{type='%s'} %llu\n" "# HELP taler_exchange_received_requests " " number of received requests by type\n" "# TYPE taler_exchange_received_requests counter\n" @@ -72,8 +63,7 @@ counter\n" "taler_exchange_received_requests{type='%s'} %llu\n" "taler_exchange_received_requests{type='%s'} %llu\n" "taler_exchange_received_requests{type='%s'} %llu\n" - "taler_exchange_received_requests{type='%s'} -%llu\n", + "taler_exchange_received_requests{type='%s'} %llu\n", "other", TEH_METRICS_num_conflict[TEH_MT_OTHER], "deposit",