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

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

Attributes

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

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