summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-22 13:06:17 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-22 13:06:17 +0200
commitb1b943aa3eb1fd96a2b265aa02dd455da2e9f431 (patch)
tree7c00f9cdd42d0e49a47b1ca442743e9154175cb2 /src/exchange/taler-exchange-httpd_withdraw.c
parent737937291cceddd81e0dac676d3cb909250f628a (diff)
downloadexchange-b1b943aa3eb1fd96a2b265aa02dd455da2e9f431.tar.gz
exchange-b1b943aa3eb1fd96a2b265aa02dd455da2e9f431.tar.bz2
exchange-b1b943aa3eb1fd96a2b265aa02dd455da2e9f431.zip
-add metrics for idempotent (batch) withdraw
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
index 7ad74f2a3..ca4ed9a71 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -232,6 +232,7 @@ check_request_idempotent (struct TEH_RequestContext *rc,
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
return false;
/* generate idempotent reply */
+ TEH_METRICS_num_requests[TEH_MT_REQUEST_IDEMPOTENT_WITHDRAW]++;
*mret = TALER_MHD_REPLY_JSON_PACK (
rc->connection,
MHD_HTTP_OK,