#[non_exhaustive]pub struct ApplicationMetrics { /* private fields */ }
Expand description
Application request metrics for an AWS Elastic Beanstalk environment.
Implementations§
source§impl ApplicationMetrics
impl ApplicationMetrics
sourcepub fn duration(&self) -> Option<i32>
pub fn duration(&self) -> Option<i32>
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
).
sourcepub fn request_count(&self) -> i32
pub fn request_count(&self) -> i32
Average number of requests handled by the web server per second over the last 10 seconds.
sourcepub fn status_codes(&self) -> Option<&StatusCodes>
pub fn status_codes(&self) -> Option<&StatusCodes>
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
source§impl ApplicationMetrics
impl ApplicationMetrics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ApplicationMetrics
.
Trait Implementations§
source§impl Clone for ApplicationMetrics
impl Clone for ApplicationMetrics
source§fn clone(&self) -> ApplicationMetrics
fn clone(&self) -> ApplicationMetrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApplicationMetrics
impl Debug for ApplicationMetrics
source§impl PartialEq<ApplicationMetrics> for ApplicationMetrics
impl PartialEq<ApplicationMetrics> for ApplicationMetrics
source§fn 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 ==
.