App Engine Logging Data v1 API - Class RequestLog (1.1.0)

public sealed class RequestLog : IMessage<RequestLog>, IEquatable<RequestLog>, IDeepCloneable<RequestLog>, IBufferMessage, IMessage

Reference documentation and code samples for the App Engine Logging Data v1 API class RequestLog.

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

Inheritance

object > RequestLog

Namespace

Google.Cloud.AppEngine.Logging.V1

Assembly

Google.Cloud.AppEngine.Logging.V1.dll

Constructors

RequestLog()

public RequestLog()

RequestLog(RequestLog)

public RequestLog(RequestLog other)
Parameter
NameDescription
otherRequestLog

Properties

AppEngineRelease

public string AppEngineRelease { get; set; }

App Engine release version.

Property Value
TypeDescription
string

AppId

public string AppId { get; set; }

Application that handled this request.

Property Value
TypeDescription
string

Cost

public double Cost { get; set; }

An indication of the relative cost of serving this request.

Property Value
TypeDescription
double

EndTime

public Timestamp EndTime { get; set; }

Time when the request finished.

Property Value
TypeDescription
Timestamp

Finished

public bool Finished { get; set; }

Whether this request is finished or active.

Property Value
TypeDescription
bool

First

public bool First { get; set; }

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.

Property Value
TypeDescription
bool

Host

public string Host { get; set; }

Internet host and port number of the resource being requested.

Property Value
TypeDescription
string

HttpVersion

public string HttpVersion { get; set; }

HTTP version of request. Example: "HTTP/1.1".

Property Value
TypeDescription
string

InstanceId

public string InstanceId { get; set; }

An identifier for the instance that handled the request.

Property Value
TypeDescription
string

InstanceIndex

public int InstanceIndex { get; set; }

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.

Property Value
TypeDescription
int

Ip

public string Ip { get; set; }

Origin IP address.

Property Value
TypeDescription
string

Latency

public Duration Latency { get; set; }

Latency of the request.

Property Value
TypeDescription
Duration

Line

public RepeatedField<LogLine> Line { get; }

A list of log lines emitted by the application while serving this request.

Property Value
TypeDescription
RepeatedFieldLogLine

MegaCycles

public long MegaCycles { get; set; }

Number of CPU megacycles used to process request.

Property Value
TypeDescription
long

Method

public string Method { get; set; }

Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".

Property Value
TypeDescription
string

ModuleId

public string ModuleId { get; set; }

Module of the application that handled this request.

Property Value
TypeDescription
string

Nickname

public string Nickname { get; set; }

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.

Property Value
TypeDescription
string

PendingTime

public Duration PendingTime { get; set; }

Time this request spent in the pending request queue.

Property Value
TypeDescription
Duration

Referrer

public string Referrer { get; set; }

Referrer URL of request.

Property Value
TypeDescription
string

RequestId

public string RequestId { get; set; }

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.

Property Value
TypeDescription
string

Resource

public string Resource { get; set; }

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.

Property Value
TypeDescription
string

ResponseSize

public long ResponseSize { get; set; }

Size in bytes sent back to client by request.

Property Value
TypeDescription
long

SourceReference

public RepeatedField<SourceReference> SourceReference { get; }

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.

Property Value
TypeDescription
RepeatedFieldSourceReference

StartTime

public Timestamp StartTime { get; set; }

Time when the request started.

Property Value
TypeDescription
Timestamp

Status

public int Status { get; set; }

HTTP response status code. Example: 200, 404.

Property Value
TypeDescription
int

TaskName

public string TaskName { get; set; }

Task name of the request, in the case of an offline request.

Property Value
TypeDescription
string

TaskQueueName

public string TaskQueueName { get; set; }

Queue name of the request, in the case of an offline request.

Property Value
TypeDescription
string

TraceId

public string TraceId { get; set; }

Stackdriver Trace identifier for this request.

Property Value
TypeDescription
string

TraceSampled

public bool TraceSampled { get; set; }

If true, the value in the 'trace_id' field was sampled for storage in a trace backend.

Property Value
TypeDescription
bool

UrlMapEntry

public string UrlMapEntry { get; set; }

File or class that handled the request.

Property Value
TypeDescription
string

UserAgent

public string UserAgent { get; set; }

User agent that made the request.

Property Value
TypeDescription
string

VersionId

public string VersionId { get; set; }

Version of the application that handled this request.

Property Value
TypeDescription
string

WasLoadingRequest

public bool WasLoadingRequest { get; set; }

Whether this was a loading request for the instance.

Property Value
TypeDescription
bool