summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_batch-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_batch-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_batch-withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index e58548af7..f4276ef67 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -352,6 +352,7 @@ check_request_idempotent (const struct TEH_RequestContext *rc,
return false;
}
/* generate idempotent reply */
+ TEH_METRICS_num_requests[TEH_MT_REQUEST_IDEMPOTENT_BATCH_WITHDRAW]++;
*mret = generate_reply_success (rc,
wc);
return true;