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

Stay organized with collections Save and categorize content based on your preferences.
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
Boolean

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
Boolean

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: &quot;HTTP/1.1&quot;.

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
Int32

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
RepeatedField<LogLine>

MegaCycles

public long MegaCycles { get; set; }

Number of CPU megacycles used to process request.

Property Value
TypeDescription
Int64

Method

public string Method { get; set; }

Request method. Example: &quot;GET&quot;, &quot;HEAD&quot;, &quot;PUT&quot;, &quot;POST&quot;, &quot;DELETE&quot;.

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
Int64

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
RepeatedField<SourceReference>

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
Int32

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
Boolean

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
Boolean