Struct aws_sdk_applicationinsights::model::Observation
source · [−]#[non_exhaustive]pub struct Observation {Show 45 fields
pub id: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub source_type: Option<String>,
pub source_arn: Option<String>,
pub log_group: Option<String>,
pub line_time: Option<DateTime>,
pub log_text: Option<String>,
pub log_filter: Option<LogFilter>,
pub metric_namespace: Option<String>,
pub metric_name: Option<String>,
pub unit: Option<String>,
pub value: Option<f64>,
pub cloud_watch_event_id: Option<String>,
pub cloud_watch_event_source: Option<CloudWatchEventSource>,
pub cloud_watch_event_detail_type: Option<String>,
pub health_event_arn: Option<String>,
pub health_service: Option<String>,
pub health_event_type_code: Option<String>,
pub health_event_type_category: Option<String>,
pub health_event_description: Option<String>,
pub code_deploy_deployment_id: Option<String>,
pub code_deploy_deployment_group: Option<String>,
pub code_deploy_state: Option<String>,
pub code_deploy_application: Option<String>,
pub code_deploy_instance_group_id: Option<String>,
pub ec2_state: Option<String>,
pub rds_event_categories: Option<String>,
pub rds_event_message: Option<String>,
pub s3_event_name: Option<String>,
pub states_execution_arn: Option<String>,
pub states_arn: Option<String>,
pub states_status: Option<String>,
pub states_input: Option<String>,
pub ebs_event: Option<String>,
pub ebs_result: Option<String>,
pub ebs_cause: Option<String>,
pub ebs_request_id: Option<String>,
pub x_ray_fault_percent: Option<i32>,
pub x_ray_throttle_percent: Option<i32>,
pub x_ray_error_percent: Option<i32>,
pub x_ray_request_count: Option<i32>,
pub x_ray_request_average_latency: Option<i64>,
pub x_ray_node_name: Option<String>,
pub x_ray_node_type: Option<String>,
}
Expand description
Describes an anomaly or error with the application.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The ID of the observation type.
start_time: Option<DateTime>
The time when the observation was first detected, in epoch seconds.
end_time: Option<DateTime>
The time when the observation ended, in epoch seconds.
source_type: Option<String>
The source type of the observation.
source_arn: Option<String>
The source resource ARN of the observation.
log_group: Option<String>
The log group name.
line_time: Option<DateTime>
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
log_text: Option<String>
The log text of the observation.
log_filter: Option<LogFilter>
The log filter of the observation.
metric_namespace: Option<String>
The namespace of the observation metric.
metric_name: Option<String>
The name of the observation metric.
unit: Option<String>
The unit of the source observation metric.
value: Option<f64>
The value of the source observation metric.
cloud_watch_event_id: Option<String>
The ID of the CloudWatch Event-based observation related to the detected problem.
cloud_watch_event_source: Option<CloudWatchEventSource>
The source of the CloudWatch Event.
cloud_watch_event_detail_type: Option<String>
The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification
.
health_event_arn: Option<String>
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
health_service: Option<String>
The service to which the AWS Health Event belongs, such as EC2.
health_event_type_code: Option<String>
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
health_event_type_category: Option<String>
The category of the AWS Health event, such as issue
.
health_event_description: Option<String>
The description of the AWS Health event provided by the service, such as Amazon EC2.
code_deploy_deployment_id: Option<String>
The deployment ID of the CodeDeploy-based observation related to the detected problem.
code_deploy_deployment_group: Option<String>
The deployment group to which the CodeDeploy deployment belongs.
code_deploy_state: Option<String>
The status of the CodeDeploy deployment, for example SUCCESS
or FAILURE
.
code_deploy_application: Option<String>
The CodeDeploy application to which the deployment belongs.
code_deploy_instance_group_id: Option<String>
The instance group to which the CodeDeploy instance belongs.
ec2_state: Option<String>
The state of the instance, such as STOPPING
or TERMINATING
.
rds_event_categories: Option<String>
The category of an RDS event.
rds_event_message: Option<String>
The message of an RDS event.
s3_event_name: Option<String>
The name of the S3 CloudWatch Event-based observation.
states_execution_arn: Option<String>
The Amazon Resource Name (ARN) of the step function execution-based observation.
states_arn: Option<String>
The Amazon Resource Name (ARN) of the step function-based observation.
states_status: Option<String>
The status of the step function-related observation.
states_input: Option<String>
The input to the step function-based observation.
ebs_event: Option<String>
The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
ebs_result: Option<String>
The result of an EBS CloudWatch event, such as failed
or succeeded
.
ebs_cause: Option<String>
The cause of an EBS CloudWatch event.
ebs_request_id: Option<String>
The request ID of an EBS CloudWatch event.
x_ray_fault_percent: Option<i32>
The X-Ray request fault percentage for this node.
x_ray_throttle_percent: Option<i32>
The X-Ray request throttle percentage for this node.
x_ray_error_percent: Option<i32>
The X-Ray request error percentage for this node.
x_ray_request_count: Option<i32>
The X-Ray request count for this node.
x_ray_request_average_latency: Option<i64>
The X-Ray node request average latency for this node.
x_ray_node_name: Option<String>
The name of the X-Ray node.
x_ray_node_type: Option<String>
The type of the X-Ray node.
Implementations
sourceimpl Observation
impl Observation
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time when the observation was first detected, in epoch seconds.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The time when the observation ended, in epoch seconds.
sourcepub fn source_type(&self) -> Option<&str>
pub fn source_type(&self) -> Option<&str>
The source type of the observation.
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The source resource ARN of the observation.
sourcepub fn line_time(&self) -> Option<&DateTime>
pub fn line_time(&self) -> Option<&DateTime>
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
sourcepub fn log_filter(&self) -> Option<&LogFilter>
pub fn log_filter(&self) -> Option<&LogFilter>
The log filter of the observation.
sourcepub fn metric_namespace(&self) -> Option<&str>
pub fn metric_namespace(&self) -> Option<&str>
The namespace of the observation metric.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the observation metric.
sourcepub fn cloud_watch_event_id(&self) -> Option<&str>
pub fn cloud_watch_event_id(&self) -> Option<&str>
The ID of the CloudWatch Event-based observation related to the detected problem.
sourcepub fn cloud_watch_event_source(&self) -> Option<&CloudWatchEventSource>
pub fn cloud_watch_event_source(&self) -> Option<&CloudWatchEventSource>
The source of the CloudWatch Event.
sourcepub fn cloud_watch_event_detail_type(&self) -> Option<&str>
pub fn cloud_watch_event_detail_type(&self) -> Option<&str>
The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification
.
sourcepub fn health_event_arn(&self) -> Option<&str>
pub fn health_event_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
sourcepub fn health_service(&self) -> Option<&str>
pub fn health_service(&self) -> Option<&str>
The service to which the AWS Health Event belongs, such as EC2.
sourcepub fn health_event_type_code(&self) -> Option<&str>
pub fn health_event_type_code(&self) -> Option<&str>
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
sourcepub fn health_event_type_category(&self) -> Option<&str>
pub fn health_event_type_category(&self) -> Option<&str>
The category of the AWS Health event, such as issue
.
sourcepub fn health_event_description(&self) -> Option<&str>
pub fn health_event_description(&self) -> Option<&str>
The description of the AWS Health event provided by the service, such as Amazon EC2.
sourcepub fn code_deploy_deployment_id(&self) -> Option<&str>
pub fn code_deploy_deployment_id(&self) -> Option<&str>
The deployment ID of the CodeDeploy-based observation related to the detected problem.
sourcepub fn code_deploy_deployment_group(&self) -> Option<&str>
pub fn code_deploy_deployment_group(&self) -> Option<&str>
The deployment group to which the CodeDeploy deployment belongs.
sourcepub fn code_deploy_state(&self) -> Option<&str>
pub fn code_deploy_state(&self) -> Option<&str>
The status of the CodeDeploy deployment, for example SUCCESS
or FAILURE
.
sourcepub fn code_deploy_application(&self) -> Option<&str>
pub fn code_deploy_application(&self) -> Option<&str>
The CodeDeploy application to which the deployment belongs.
sourcepub fn code_deploy_instance_group_id(&self) -> Option<&str>
pub fn code_deploy_instance_group_id(&self) -> Option<&str>
The instance group to which the CodeDeploy instance belongs.
sourcepub fn ec2_state(&self) -> Option<&str>
pub fn ec2_state(&self) -> Option<&str>
The state of the instance, such as STOPPING
or TERMINATING
.
sourcepub fn rds_event_categories(&self) -> Option<&str>
pub fn rds_event_categories(&self) -> Option<&str>
The category of an RDS event.
sourcepub fn rds_event_message(&self) -> Option<&str>
pub fn rds_event_message(&self) -> Option<&str>
The message of an RDS event.
sourcepub fn s3_event_name(&self) -> Option<&str>
pub fn s3_event_name(&self) -> Option<&str>
The name of the S3 CloudWatch Event-based observation.
sourcepub fn states_execution_arn(&self) -> Option<&str>
pub fn states_execution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the step function execution-based observation.
sourcepub fn states_arn(&self) -> Option<&str>
pub fn states_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the step function-based observation.
sourcepub fn states_status(&self) -> Option<&str>
pub fn states_status(&self) -> Option<&str>
The status of the step function-related observation.
sourcepub fn states_input(&self) -> Option<&str>
pub fn states_input(&self) -> Option<&str>
The input to the step function-based observation.
sourcepub fn ebs_event(&self) -> Option<&str>
pub fn ebs_event(&self) -> Option<&str>
The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
sourcepub fn ebs_result(&self) -> Option<&str>
pub fn ebs_result(&self) -> Option<&str>
The result of an EBS CloudWatch event, such as failed
or succeeded
.
sourcepub fn ebs_request_id(&self) -> Option<&str>
pub fn ebs_request_id(&self) -> Option<&str>
The request ID of an EBS CloudWatch event.
sourcepub fn x_ray_fault_percent(&self) -> Option<i32>
pub fn x_ray_fault_percent(&self) -> Option<i32>
The X-Ray request fault percentage for this node.
sourcepub fn x_ray_throttle_percent(&self) -> Option<i32>
pub fn x_ray_throttle_percent(&self) -> Option<i32>
The X-Ray request throttle percentage for this node.
sourcepub fn x_ray_error_percent(&self) -> Option<i32>
pub fn x_ray_error_percent(&self) -> Option<i32>
The X-Ray request error percentage for this node.
sourcepub fn x_ray_request_count(&self) -> Option<i32>
pub fn x_ray_request_count(&self) -> Option<i32>
The X-Ray request count for this node.
sourcepub fn x_ray_request_average_latency(&self) -> Option<i64>
pub fn x_ray_request_average_latency(&self) -> Option<i64>
The X-Ray node request average latency for this node.
sourcepub fn x_ray_node_name(&self) -> Option<&str>
pub fn x_ray_node_name(&self) -> Option<&str>
The name of the X-Ray node.
sourcepub fn x_ray_node_type(&self) -> Option<&str>
pub fn x_ray_node_type(&self) -> Option<&str>
The type of the X-Ray node.
sourceimpl Observation
impl Observation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Observation
Trait Implementations
sourceimpl Clone for Observation
impl Clone for Observation
sourcefn clone(&self) -> Observation
fn clone(&self) -> Observation
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 Observation
impl Debug for Observation
sourceimpl PartialEq<Observation> for Observation
impl PartialEq<Observation> for Observation
sourcefn eq(&self, other: &Observation) -> bool
fn eq(&self, other: &Observation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Observation) -> bool
fn ne(&self, other: &Observation) -> bool
This method tests for !=
.
impl StructuralPartialEq for Observation
Auto Trait Implementations
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnwindSafe for Observation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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