HttpRequest util and express middleware fields #1238
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
needs more info
This issue needs more information from the customer to proceed.
I've just installed the express middleware provided and I've seen that there are some fields that are not mapped between the express Request/Response and the HttpRequest of the LogEntry.
I would like to know if there is any reason why the
remoteIp
andrequestSize
are not parsed from requests objects, if there is any specific reason.remoteIp
can be obtained fromreq.ip
as stated here.requestSize
can be obtained from requests headers in the same way that is done for theresponseSize
.The text was updated successfully, but these errors were encountered: