pub struct ApplicationMetrics {
pub duration: Option<i64>,
pub latency: Option<Latency>,
pub request_count: Option<i64>,
pub status_codes: Option<StatusCodes>,
}
Expand description
Application request metrics for an AWS Elastic Beanstalk environment.
Fields
duration: Option<i64>
The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count
) within the most recent time slice of 10 seconds (duration
).
latency: Option<Latency>
Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.
request_count: Option<i64>
Average number of requests handled by the web server per second over the last 10 seconds.
status_codes: Option<StatusCodes>
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
Trait Implementations
sourceimpl Clone for ApplicationMetrics
impl Clone for ApplicationMetrics
sourcefn clone(&self) -> ApplicationMetrics
fn clone(&self) -> ApplicationMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApplicationMetrics
impl Debug for ApplicationMetrics
sourceimpl Default for ApplicationMetrics
impl Default for ApplicationMetrics
sourcefn default() -> ApplicationMetrics
fn default() -> ApplicationMetrics
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ApplicationMetrics> for ApplicationMetrics
impl PartialEq<ApplicationMetrics> for ApplicationMetrics
sourcefn eq(&self, other: &ApplicationMetrics) -> bool
fn eq(&self, other: &ApplicationMetrics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ApplicationMetrics) -> bool
fn ne(&self, other: &ApplicationMetrics) -> bool
This method tests for !=
.
impl StructuralPartialEq for ApplicationMetrics
Auto Trait Implementations
impl RefUnwindSafe for ApplicationMetrics
impl Send for ApplicationMetrics
impl Sync for ApplicationMetrics
impl Unpin for ApplicationMetrics
impl UnwindSafe for ApplicationMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more