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.
Implements
IMessage<RequestLog>, IEquatable<RequestLog>, IDeepCloneable<RequestLog>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.Logging.V1Assembly
Google.Cloud.AppEngine.Logging.V1.dll
Constructors
RequestLog()
public RequestLog()
RequestLog(RequestLog)
public RequestLog(RequestLog other)
Parameter | |
---|---|
Name | Description |
other | RequestLog |
Properties
AppEngineRelease
public string AppEngineRelease { get; set; }
App Engine release version.
Property Value | |
---|---|
Type | Description |
String |
AppId
public string AppId { get; set; }
Application that handled this request.
Property Value | |
---|---|
Type | Description |
String |
Cost
public double Cost { get; set; }
An indication of the relative cost of serving this request.
Property Value | |
---|---|
Type | Description |
Double |
EndTime
public Timestamp EndTime { get; set; }
Time when the request finished.
Property Value | |
---|---|
Type | Description |
Timestamp |
Finished
public bool Finished { get; set; }
Whether this request is finished or active.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Boolean |
Host
public string Host { get; set; }
Internet host and port number of the resource being requested.
Property Value | |
---|---|
Type | Description |
String |
HttpVersion
public string HttpVersion { get; set; }
HTTP version of request. Example: "HTTP/1.1"
.
Property Value | |
---|---|
Type | Description |
String |
InstanceId
public string InstanceId { get; set; }
An identifier for the instance that handled the request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |
Ip
public string Ip { get; set; }
Origin IP address.
Property Value | |
---|---|
Type | Description |
String |
Latency
public Duration Latency { get; set; }
Latency of the request.
Property Value | |
---|---|
Type | Description |
Duration |
Line
public RepeatedField<LogLine> Line { get; }
A list of log lines emitted by the application while serving this request.
Property Value | |
---|---|
Type | Description |
RepeatedField<LogLine> |
MegaCycles
public long MegaCycles { get; set; }
Number of CPU megacycles used to process request.
Property Value | |
---|---|
Type | Description |
Int64 |
Method
public string Method { get; set; }
Request method. Example: "GET"
, "HEAD"
, "PUT"
, "POST"
, "DELETE"
.
Property Value | |
---|---|
Type | Description |
String |
ModuleId
public string ModuleId { get; set; }
Module of the application that handled this request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
PendingTime
public Duration PendingTime { get; set; }
Time this request spent in the pending request queue.
Property Value | |
---|---|
Type | Description |
Duration |
Referrer
public string Referrer { get; set; }
Referrer URL of request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
ResponseSize
public long ResponseSize { get; set; }
Size in bytes sent back to client by request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedField<SourceReference> |
StartTime
public Timestamp StartTime { get; set; }
Time when the request started.
Property Value | |
---|---|
Type | Description |
Timestamp |
Status
public int Status { get; set; }
HTTP response status code. Example: 200, 404.
Property Value | |
---|---|
Type | Description |
Int32 |
TaskName
public string TaskName { get; set; }
Task name of the request, in the case of an offline request.
Property Value | |
---|---|
Type | Description |
String |
TaskQueueName
public string TaskQueueName { get; set; }
Queue name of the request, in the case of an offline request.
Property Value | |
---|---|
Type | Description |
String |
TraceId
public string TraceId { get; set; }
Stackdriver Trace identifier for this request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Boolean |
UrlMapEntry
public string UrlMapEntry { get; set; }
File or class that handled the request.
Property Value | |
---|---|
Type | Description |
String |
UserAgent
public string UserAgent { get; set; }
User agent that made the request.
Property Value | |
---|---|
Type | Description |
String |
VersionId
public string VersionId { get; set; }
Version of the application that handled this request.
Property Value | |
---|---|
Type | Description |
String |
WasLoadingRequest
public bool WasLoadingRequest { get; set; }
Whether this was a loading request for the instance.
Property Value | |
---|---|
Type | Description |
Boolean |