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

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

Attributes

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

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{
  taskQueueName: String.t(),
  host: String.t(),
  taskName: String.t(),
  sourceReference: [GoogleApi.Logging.V2.Model.SourceReference.t()],
  startTime: DateTime.t(),
  resource: String.t(),
  endTime: DateTime.t(),
  nickname: String.t(),
  instanceIndex: integer(),
  responseSize: String.t(),
  method: String.t(),
  appEngineRelease: String.t(),
  userAgent: String.t(),
  traceSampled: boolean(),
  traceId: String.t(),
  line: [GoogleApi.Logging.V2.Model.LogLine.t()],
  moduleId: String.t(),
  finished: boolean(),
  wasLoadingRequest: boolean(),
  cost: float(),
  instanceId: String.t(),
  megaCycles: String.t(),
  appId: String.t(),
  pendingTime: String.t(),
  latency: String.t(),
  status: integer(),
  ip: String.t(),
  versionId: String.t(),
  requestId: String.t(),
  first: boolean(),
  urlMapEntry: String.t(),
  httpVersion: String.t(),
  referrer: String.t()
}

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.