Index
LogLine
(message)RequestLog
(message)SourceLocation
(message)SourceReference
(message)
LogLine
Application log line emitted while processing a request.
Fields | |
---|---|
time |
Approximate time when this log entry was made. |
severity |
Severity of this log entry. |
log_ |
App-provided log message. |
source_ |
Where in the source code this log message was written. |
RequestLog
Complete log information about a single HTTP request to an App Engine application.
Fields | |
---|---|
app_ |
Application that handled this request. |
module_ |
Module of the application that handled this request. |
version_ |
Version of the application that handled this request. |
request_ |
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 |
Origin IP address. |
start_ |
Time when the request started. |
end_ |
Time when the request finished. |
latency |
Latency of the request. |
mega_ |
Number of CPU megacycles used to process request. |
method |
Request method. Example: |
resource |
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 |
http_ |
HTTP version of request. Example: |
status |
HTTP response status code. Example: 200, 404. |
response_ |
Size in bytes sent back to client by request. |
referrer |
Referrer URL of request. |
user_ |
User agent that made the request. |
nickname |
The logged-in user who made the request. Most likely, this is the part of the user's email before the This field will be populated starting with App Engine 1.9.21. |
url_ |
File or class that handled the request. |
host |
Internet host and port number of the resource being requested. |
cost |
An indication of the relative cost of serving this request. |
task_ |
Queue name of the request, in the case of an offline request. |
task_ |
Task name of the request, in the case of an offline request. |
was_ |
Whether this was a loading request for the instance. |
pending_ |
Time this request spent in the pending request queue. |
instance_ |
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 |
Whether this request is finished or active. |
first |
Whether this is the first |
instance_ |
An identifier for the instance that handled the request. |
line[] |
A list of log lines emitted by the application while serving this request. |
app_ |
App Engine release version. |
trace_ |
Stackdriver Trace identifier for this request. |
span_ |
Stackdriver Trace span identifier for this request. |
trace_ |
If true, the value in the 'trace_id' field was sampled for storage in a trace backend. |
source_ |
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. |
SourceLocation
Specifies a location in a source code file.
Fields | |
---|---|
file |
Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. |
line |
Line within the source file. |
function_ |
Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: |
SourceReference
A reference to a particular snapshot of the source tree used to build and deploy an application.
Fields | |
---|---|
repository |
Optional. A URI string identifying the repository. Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" |
revision_ |
The canonical and persistent identifier of the deployed revision. Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" |