Class RequestLog

Complete log information about a single HTTP request to an App Engine application.

Attributes
NameDescription
strapp_id
Application that handled this request.
strmodule_id
Module of the application that handled this request.
strversion_id
Version of the application that handled this request.
strrequest_id
Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.
strip
Origin IP address.
google.protobuf.timestamp_pb2.Timestampstart_time
Time when the request started.
google.protobuf.timestamp_pb2.Timestampend_time
Time when the request finished.
google.protobuf.duration_pb2.Durationlatency
Latency of the request.
intmega_cycles
Number of CPU megacycles used to process request.
strmethod
Request method. Example: ``"GET"``, ``"HEAD"``, ``"PUT"``, ``"POST"``, ``"DELETE"``.
strresource
Contains the path and query portion of the URL that was requested. For example, if the URL was "http://example.com/app?name=val", the resource would be "/app?name=val". The fragment identifier, which is identified by the ``#`` character, is not included.
strhttp_version
HTTP version of request. Example: ``"HTTP/1.1"``.
intstatus
HTTP response status code. Example: 200, 404.
intresponse_size
Size in bytes sent back to client by request.
strreferrer
Referrer URL of request.
struser_agent
User agent that made the request.
strnickname
The logged-in user who made the request. Most likely, this is the part of the user's email before the ``@`` sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API. This field will be populated starting with App Engine 1.9.21.
strurl_map_entry
File or class that handled the request.
strhost
Internet host and port number of the resource being requested.
floatcost
An indication of the relative cost of serving this request.
strtask_queue_name
Queue name of the request, in the case of an offline request.
strtask_name
Task name of the request, in the case of an offline request.
boolwas_loading_request
Whether this was a loading request for the instance.
google.protobuf.duration_pb2.Durationpending_time
Time this request spent in the pending request queue.
intinstance_index
If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.
boolfinished
Whether this request is finished or active.
boolfirst
Whether this is the first ``RequestLog`` entry for this request. If an active request has several ``RequestLog`` entries written to Stackdriver Logging, then this field will be set for one of them.
strinstance_id
An identifier for the instance that handled the request.
Sequence[google.cloud.appengine_logging_v1.types.LogLine]line
A list of log lines emitted by the application while serving this request.
strapp_engine_release
App Engine release version.
strtrace_id
Stackdriver Trace identifier for this request.
booltrace_sampled
If true, the value in the 'trace_id' field was sampled for storage in a trace backend.
Sequence[google.cloud.appengine_logging_v1.types.SourceReference]source_reference
Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.

Inheritance

builtins.object > proto.message.Message > RequestLog