The value of "requests" field in the output log is determined by the variable total_requests_count
which currently is getting updated on the "aggregate" function, which gets called after the HTTP response is received.
Due to this, the output log, doesn't depicts a true value of this metric.
PFB log output for ref.
Ideally, shouldn't the value of total_requests_count be updated in record_new_request function itself?
The value of "requests" field in the output log is determined by the variable
total_requests_count
which currently is getting updated on the "aggregate" function, which gets called after the HTTP response is received.Due to this, the output log, doesn't depicts a true value of this metric. PFB log output for ref.
Ideally, shouldn't the value of
total_requests_count
be updated inrecord_new_request
function itself?