Values.ObservationSourceDescribes an anomaly or error with the application.
type nonrec t = {id : ObservationId.t option;The ID of the observation type.
*)startTime : StartTime.t option;The time when the observation was first detected, in epoch seconds.
*)endTime : EndTime.t option;The time when the observation ended, in epoch seconds.
*)sourceType : SourceType.t option;The source type of the observation.
*)sourceARN : SourceARN.t option;The source resource ARN of the observation.
*)logGroup : LogGroup.t option;The log group name.
*)lineTime : LineTime.t option;The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
*)logText : LogText.t option;The log text of the observation.
*)logFilter : LogFilter.t option;The log filter of the observation.
*)metricNamespace : MetricNamespace.t option;The namespace of the observation metric.
*)metricName : MetricName.t option;The name of the observation metric.
*)unit : Unit.t option;The unit of the source observation metric.
*)value : Value.t option;The value of the source observation metric.
*)cloudWatchEventId : CloudWatchEventId.t option;The ID of the CloudWatch Event-based observation related to the detected problem.
*)cloudWatchEventSource : CloudWatchEventSource.t option;The source of the CloudWatch Event.
*)cloudWatchEventDetailType : CloudWatchEventDetailType.t option;The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.
*)healthEventArn : HealthEventArn.t option;The Amazon Resource Name (ARN) of the Health Event-based observation.
*)healthService : HealthService.t option;The service to which the Health Event belongs, such as EC2.
*)healthEventTypeCode : HealthEventTypeCode.t option;The type of the Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
*)healthEventTypeCategory : HealthEventTypeCategory.t option;The category of the Health event, such as issue.
*)healthEventDescription : HealthEventDescription.t option;The description of the Health event provided by the service, such as Amazon EC2.
*)codeDeployDeploymentId : CodeDeployDeploymentId.t option;The deployment ID of the CodeDeploy-based observation related to the detected problem.
*)codeDeployDeploymentGroup : CodeDeployDeploymentGroup.t option;The deployment group to which the CodeDeploy deployment belongs.
*)codeDeployState : CodeDeployState.t option;The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
*)codeDeployApplication : CodeDeployApplication.t option;The CodeDeploy application to which the deployment belongs.
*)codeDeployInstanceGroupId : CodeDeployInstanceGroupId.t option;The instance group to which the CodeDeploy instance belongs.
*)ec2State : Ec2State.t option;The state of the instance, such as STOPPING or TERMINATING.
*)rdsEventCategories : RdsEventCategories.t option;The category of an RDS event.
*)rdsEventMessage : RdsEventMessage.t option;The message of an RDS event.
*)s3EventName : S3EventName.t option;The name of the S3 CloudWatch Event-based observation.
*)statesExecutionArn : StatesExecutionArn.t option;The Amazon Resource Name (ARN) of the step function execution-based observation.
*)statesArn : StatesArn.t option;The Amazon Resource Name (ARN) of the step function-based observation.
*)statesStatus : StatesStatus.t option;The status of the step function-related observation.
*)statesInput : StatesInput.t option;The input to the step function-based observation.
*)ebsEvent : EbsEvent.t option;The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.
*)ebsResult : EbsResult.t option;The result of an EBS CloudWatch event, such as failed or succeeded.
*)ebsCause : EbsCause.t option;The cause of an EBS CloudWatch event.
*)ebsRequestId : EbsRequestId.t option;The request ID of an EBS CloudWatch event.
*)xRayFaultPercent : XRayFaultPercent.t option;The X-Ray request fault percentage for this node.
*)xRayThrottlePercent : XRayThrottlePercent.t option;The X-Ray request throttle percentage for this node.
*)xRayErrorPercent : XRayErrorPercent.t option;The X-Ray request error percentage for this node.
*)xRayRequestCount : XRayRequestCount.t option;The X-Ray request count for this node.
*)xRayRequestAverageLatency : XRayRequestAverageLatency.t option;The X-Ray node request average latency for this node.
*)xRayNodeName : XRayNodeName.t option;The name of the X-Ray node.
*)xRayNodeType : XRayNodeType.t option;The type of the X-Ray node.
*)}val make :
?id:ObservationId.t ->
?startTime:StartTime.t ->
?endTime:EndTime.t ->
?sourceType:SourceType.t ->
?sourceARN:SourceARN.t ->
?logGroup:LogGroup.t ->
?lineTime:LineTime.t ->
?logText:LogText.t ->
?logFilter:LogFilter.t ->
?metricNamespace:MetricNamespace.t ->
?metricName:MetricName.t ->
?unit:Unit.t ->
?value:Value.t ->
?cloudWatchEventId:CloudWatchEventId.t ->
?cloudWatchEventSource:CloudWatchEventSource.t ->
?cloudWatchEventDetailType:CloudWatchEventDetailType.t ->
?healthEventArn:HealthEventArn.t ->
?healthService:HealthService.t ->
?healthEventTypeCode:HealthEventTypeCode.t ->
?healthEventTypeCategory:HealthEventTypeCategory.t ->
?healthEventDescription:HealthEventDescription.t ->
?codeDeployDeploymentId:CodeDeployDeploymentId.t ->
?codeDeployDeploymentGroup:CodeDeployDeploymentGroup.t ->
?codeDeployState:CodeDeployState.t ->
?codeDeployApplication:CodeDeployApplication.t ->
?codeDeployInstanceGroupId:CodeDeployInstanceGroupId.t ->
?ec2State:Ec2State.t ->
?rdsEventCategories:RdsEventCategories.t ->
?rdsEventMessage:RdsEventMessage.t ->
?s3EventName:S3EventName.t ->
?statesExecutionArn:StatesExecutionArn.t ->
?statesArn:StatesArn.t ->
?statesStatus:StatesStatus.t ->
?statesInput:StatesInput.t ->
?ebsEvent:EbsEvent.t ->
?ebsResult:EbsResult.t ->
?ebsCause:EbsCause.t ->
?ebsRequestId:EbsRequestId.t ->
?xRayFaultPercent:XRayFaultPercent.t ->
?xRayThrottlePercent:XRayThrottlePercent.t ->
?xRayErrorPercent:XRayErrorPercent.t ->
?xRayRequestCount:XRayRequestCount.t ->
?xRayRequestAverageLatency:XRayRequestAverageLatency.t ->
?xRayNodeName:XRayNodeName.t ->
?xRayNodeType:XRayNodeType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Double of Value.t
| `Enum of string
| `Integer of XRayFaultPercent.t
| `Long of XRayRequestAverageLatency.t
| `String of ObservationId.t
| `Timestamp of StartTime.t ])
list ]