google_api_logging v0.7.0 GoogleApi.Logging.V2.Model.RequestLog View Source

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

Attributes

  • host (String.t): Internet host and port number of the resource being requested. Defaults to: null.
  • appEngineRelease (String.t): App Engine release version. Defaults to: null.
  • appId (String.t): Application that handled this request. Defaults to: null.
  • cost (float()): An indication of the relative cost of serving this request. Defaults to: null.
  • endTime (DateTime.t): Time when the request finished. Defaults to: null.
  • finished (boolean()): Whether this request is finished or active. Defaults to: null.
  • first (boolean()): 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. Defaults to: null.
  • httpVersion (String.t): HTTP version of request. Example: "HTTP/1.1". Defaults to: null.
  • instanceId (String.t): An identifier for the instance that handled the request. Defaults to: null.
  • instanceIndex (integer()): 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. Defaults to: null.
  • ip (String.t): Origin IP address. Defaults to: null.
  • latency (String.t): Latency of the request. Defaults to: null.
  • line ([LogLine]): A list of log lines emitted by the application while serving this request. Defaults to: null.
  • megaCycles (String.t): Number of CPU megacycles used to process request. Defaults to: null.
  • method (String.t): Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". Defaults to: null.
  • moduleId (String.t): Module of the application that handled this request. Defaults to: null.
  • nickname (String.t): 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. Defaults to: null.
  • pendingTime (String.t): Time this request spent in the pending request queue. Defaults to: null.
  • referrer (String.t): Referrer URL of request. Defaults to: null.
  • requestId (String.t): 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. Defaults to: null.
  • resource (String.t): 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. Defaults to: null.
  • responseSize (String.t): Size in bytes sent back to client by request. Defaults to: null.
  • sourceReference ([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. Defaults to: null.
  • startTime (DateTime.t): Time when the request started. Defaults to: null.
  • status (integer()): HTTP response status code. Example: 200, 404. Defaults to: null.
  • taskName (String.t): Task name of the request, in the case of an offline request. Defaults to: null.
  • taskQueueName (String.t): Queue name of the request, in the case of an offline request. Defaults to: null.
  • traceId (String.t): Stackdriver Trace identifier for this request. Defaults to: null.
  • traceSampled (boolean()): If true, the value in the 'trace_id' field was sampled for storage in a trace backend. Defaults to: null.
  • urlMapEntry (String.t): File or class that handled the request. Defaults to: null.
  • userAgent (String.t): User agent that made the request. Defaults to: null.
  • versionId (String.t): Version of the application that handled this request. Defaults to: null.
  • wasLoadingRequest (boolean()): Whether this was a loading request for the instance. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Logging.V2.Model.RequestLog{
  instanceIndex: any(),
  traceSampled: any(),
  host: any(),
  taskQueueName: any(),
  nickname: any(),
  versionId: any(),
  resource: any(),
  appEngineRelease: any(),
  responseSize: any(),
  referrer: any(),
  httpVersion: any(),
  method: any(),
  startTime: DateTime.t(),
  endTime: DateTime.t(),
  latency: any(),
  line: [GoogleApi.Logging.V2.Model.LogLine.t()],
  taskName: any(),
  finished: any(),
  cost: any(),
  megaCycles: any(),
  requestId: any(),
  moduleId: any(),
  sourceReference: [GoogleApi.Logging.V2.Model.SourceReference.t()],
  userAgent: any(),
  wasLoadingRequest: any(),
  status: any(),
  ip: any(),
  urlMapEntry: any(),
  first: any(),
  traceId: any(),
  appId: any(),
  instanceId: any(),
  pendingTime: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.