Class RequestLog (1.4.5)

RequestLog(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
app_id str
Application that handled this request.
module_id str
Module of the application that handled this request.
version_id str
Version of the application that handled this request.
request_id str
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.
ip str
Origin IP address.
start_time google.protobuf.timestamp_pb2.Timestamp
Time when the request started.
end_time google.protobuf.timestamp_pb2.Timestamp
Time when the request finished.
latency google.protobuf.duration_pb2.Duration
Latency of the request.
mega_cycles int
Number of CPU megacycles used to process request.
method str
Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
resource str
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.
http_version str
HTTP version of request. Example: "HTTP/1.1".
status int
HTTP response status code. Example: 200, 404.
response_size int
Size in bytes sent back to client by request.
referrer str
Referrer URL of request.
user_agent str
User agent that made the request.
nickname str
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.
url_map_entry str
File or class that handled the request.
host str
Internet host and port number of the resource being requested.
cost float
An indication of the relative cost of serving this request.
task_queue_name str
Queue name of the request, in the case of an offline request.
task_name str
Task name of the request, in the case of an offline request.
was_loading_request bool
Whether this was a loading request for the instance.
pending_time google.protobuf.duration_pb2.Duration
Time this request spent in the pending request queue.
instance_index int
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.
finished bool
Whether this request is finished or active.
first bool
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.
instance_id str
An identifier for the instance that handled the request.
line MutableSequence[google.cloud.appengine_logging_v1.types.LogLine]
A list of log lines emitted by the application while serving this request.
app_engine_release str
App Engine release version.
trace_id str
Stackdriver Trace identifier for this request.
trace_sampled bool
If true, the value in the 'trace_id' field was sampled for storage in a trace backend.
source_reference MutableSequence[google.cloud.appengine_logging_v1.types.SourceReference]
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.