describe_problem_observations
(**kwargs)¶Describes the anomalies or errors associated with the problem.
See also: AWS API Documentation
Request Syntax
response = client.describe_problem_observations(
ProblemId='string'
)
[REQUIRED]
The ID of the problem.
{
'RelatedObservations': {
'ObservationList': [
{
'Id': 'string',
'StartTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1),
'SourceType': 'string',
'SourceARN': 'string',
'LogGroup': 'string',
'LineTime': datetime(2015, 1, 1),
'LogText': 'string',
'LogFilter': 'ERROR'|'WARN'|'INFO',
'MetricNamespace': 'string',
'MetricName': 'string',
'Unit': 'string',
'Value': 123.0,
'CloudWatchEventId': 'string',
'CloudWatchEventSource': 'EC2'|'CODE_DEPLOY'|'HEALTH'|'RDS',
'CloudWatchEventDetailType': 'string',
'HealthEventArn': 'string',
'HealthService': 'string',
'HealthEventTypeCode': 'string',
'HealthEventTypeCategory': 'string',
'HealthEventDescription': 'string',
'CodeDeployDeploymentId': 'string',
'CodeDeployDeploymentGroup': 'string',
'CodeDeployState': 'string',
'CodeDeployApplication': 'string',
'CodeDeployInstanceGroupId': 'string',
'Ec2State': 'string',
'RdsEventCategories': 'string',
'RdsEventMessage': 'string',
'S3EventName': 'string',
'StatesExecutionArn': 'string',
'StatesArn': 'string',
'StatesStatus': 'string',
'StatesInput': 'string',
'EbsEvent': 'string',
'EbsResult': 'string',
'EbsCause': 'string',
'EbsRequestId': 'string',
'XRayFaultPercent': 123,
'XRayThrottlePercent': 123,
'XRayErrorPercent': 123,
'XRayRequestCount': 123,
'XRayRequestAverageLatency': 123,
'XRayNodeName': 'string',
'XRayNodeType': 'string'
},
]
}
}
Response Structure
Observations related to the problem.
The list of observations related to the problem.
Describes an anomaly or error with the application.
The ID of the observation type.
The time when the observation was first detected, in epoch seconds.
The time when the observation ended, in epoch seconds.
The source type of the observation.
The source resource ARN of the observation.
The log group name.
The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
The log text of the observation.
The log filter of the observation.
The namespace of the observation metric.
The name of the observation metric.
The unit of the source observation metric.
The value of the source observation metric.
The ID of the CloudWatch Event-based observation related to the detected problem.
The source of the CloudWatch Event.
The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification
.
The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
The service to which the AWS Health Event belongs, such as EC2.
The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE
.
The category of the AWS Health event, such as issue
.
The description of the AWS Health event provided by the service, such as Amazon EC2.
The deployment ID of the CodeDeploy-based observation related to the detected problem.
The deployment group to which the CodeDeploy deployment belongs.
The status of the CodeDeploy deployment, for example SUCCESS
or FAILURE
.
The CodeDeploy application to which the deployment belongs.
The instance group to which the CodeDeploy instance belongs.
The state of the instance, such as STOPPING
or TERMINATING
.
The category of an RDS event.
The message of an RDS event.
The name of the S3 CloudWatch Event-based observation.
The Amazon Resource Name (ARN) of the step function execution-based observation.
The Amazon Resource Name (ARN) of the step function-based observation.
The status of the step function-related observation.
The input to the step function-based observation.
The type of EBS CloudWatch event, such as createVolume
, deleteVolume
or attachVolume
.
The result of an EBS CloudWatch event, such as failed
or succeeded
.
The cause of an EBS CloudWatch event.
The request ID of an EBS CloudWatch event.
The X-Ray request fault percentage for this node.
The X-Ray request throttle percentage for this node.
The X-Ray request error percentage for this node.
The X-Ray request count for this node.
The X-Ray node request average latency for this node.
The name of the X-Ray node.
The type of the X-Ray node.
Exceptions
ApplicationInsights.Client.exceptions.InternalServerException
ApplicationInsights.Client.exceptions.ValidationException
ApplicationInsights.Client.exceptions.ResourceNotFoundException