Struct google_api_proto::google::appengine::logging::v1::RequestLog
source · pub struct RequestLog {Show 33 fields
pub app_id: String,
pub module_id: String,
pub version_id: String,
pub request_id: String,
pub ip: String,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub latency: Option<Duration>,
pub mega_cycles: i64,
pub method: String,
pub resource: String,
pub http_version: String,
pub status: i32,
pub response_size: i64,
pub referrer: String,
pub user_agent: String,
pub nickname: String,
pub url_map_entry: String,
pub host: String,
pub cost: f64,
pub task_queue_name: String,
pub task_name: String,
pub was_loading_request: bool,
pub pending_time: Option<Duration>,
pub instance_index: i32,
pub finished: bool,
pub first: bool,
pub instance_id: String,
pub line: Vec<LogLine>,
pub app_engine_release: String,
pub trace_id: String,
pub trace_sampled: bool,
pub source_reference: Vec<SourceReference>,
}Expand description
Complete log information about a single HTTP request to an App Engine application.
Fields§
§app_id: StringApplication that handled this request.
module_id: StringModule of the application that handled this request.
version_id: StringVersion of the application that handled this request.
request_id: StringGlobally 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.
ip: StringOrigin IP address.
start_time: Option<Timestamp>Time when the request started.
end_time: Option<Timestamp>Time when the request finished.
latency: Option<Duration>Latency of the request.
mega_cycles: i64Number of CPU megacycles used to process request.
method: StringRequest method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
resource: StringContains 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.
http_version: StringHTTP version of request. Example: "HTTP/1.1".
status: i32HTTP response status code. Example: 200, 404.
response_size: i64Size in bytes sent back to client by request.
referrer: StringReferrer URL of request.
user_agent: StringUser agent that made the request.
nickname: StringThe 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.
url_map_entry: StringFile or class that handled the request.
host: StringInternet host and port number of the resource being requested.
cost: f64An indication of the relative cost of serving this request.
task_queue_name: StringQueue name of the request, in the case of an offline request.
task_name: StringTask name of the request, in the case of an offline request.
was_loading_request: boolWhether this was a loading request for the instance.
pending_time: Option<Duration>Time this request spent in the pending request queue.
instance_index: i32If 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.
finished: boolWhether this request is finished or active.
first: boolWhether 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.
instance_id: StringAn identifier for the instance that handled the request.
line: Vec<LogLine>A list of log lines emitted by the application while serving this request.
app_engine_release: StringApp Engine release version.
trace_id: StringStackdriver Trace identifier for this request.
trace_sampled: boolIf true, the value in the ‘trace_id’ field was sampled for storage in a trace backend.
source_reference: Vec<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.
Trait Implementations§
source§impl Clone for RequestLog
impl Clone for RequestLog
source§fn clone(&self) -> RequestLog
fn clone(&self) -> RequestLog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RequestLog
impl Debug for RequestLog
source§impl Default for RequestLog
impl Default for RequestLog
source§impl Message for RequestLog
impl Message for RequestLog
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.source§impl PartialEq for RequestLog
impl PartialEq for RequestLog
source§fn eq(&self, other: &RequestLog) -> bool
fn eq(&self, other: &RequestLog) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RequestLog
Auto Trait Implementations§
impl Freeze for RequestLog
impl RefUnwindSafe for RequestLog
impl Send for RequestLog
impl Sync for RequestLog
impl Unpin for RequestLog
impl UnwindSafe for RequestLog
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request