Module Values.ObservationSource

Describes an anomaly or error with the application.

Sourcetype nonrec t = {
  1. id : ObservationId.t option;
    (*

    The ID of the observation type.

    *)
  2. startTime : StartTime.t option;
    (*

    The time when the observation was first detected, in epoch seconds.

    *)
  3. endTime : EndTime.t option;
    (*

    The time when the observation ended, in epoch seconds.

    *)
  4. sourceType : SourceType.t option;
    (*

    The source type of the observation.

    *)
  5. sourceARN : SourceARN.t option;
    (*

    The source resource ARN of the observation.

    *)
  6. logGroup : LogGroup.t option;
    (*

    The log group name.

    *)
  7. lineTime : LineTime.t option;
    (*

    The timestamp in the CloudWatch Logs that specifies when the matched line occurred.

    *)
  8. logText : LogText.t option;
    (*

    The log text of the observation.

    *)
  9. logFilter : LogFilter.t option;
    (*

    The log filter of the observation.

    *)
  10. metricNamespace : MetricNamespace.t option;
    (*

    The namespace of the observation metric.

    *)
  11. metricName : MetricName.t option;
    (*

    The name of the observation metric.

    *)
  12. unit : Unit.t option;
    (*

    The unit of the source observation metric.

    *)
  13. value : Value.t option;
    (*

    The value of the source observation metric.

    *)
  14. cloudWatchEventId : CloudWatchEventId.t option;
    (*

    The ID of the CloudWatch Event-based observation related to the detected problem.

    *)
  15. cloudWatchEventSource : CloudWatchEventSource.t option;
    (*

    The source of the CloudWatch Event.

    *)
  16. cloudWatchEventDetailType : CloudWatchEventDetailType.t option;
    (*

    The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.

    *)
  17. healthEventArn : HealthEventArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Health Event-based observation.

    *)
  18. healthService : HealthService.t option;
    (*

    The service to which the Health Event belongs, such as EC2.

    *)
  19. healthEventTypeCode : HealthEventTypeCode.t option;
    (*

    The type of the Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.

    *)
  20. healthEventTypeCategory : HealthEventTypeCategory.t option;
    (*

    The category of the Health event, such as issue.

    *)
  21. healthEventDescription : HealthEventDescription.t option;
    (*

    The description of the Health event provided by the service, such as Amazon EC2.

    *)
  22. codeDeployDeploymentId : CodeDeployDeploymentId.t option;
    (*

    The deployment ID of the CodeDeploy-based observation related to the detected problem.

    *)
  23. codeDeployDeploymentGroup : CodeDeployDeploymentGroup.t option;
    (*

    The deployment group to which the CodeDeploy deployment belongs.

    *)
  24. codeDeployState : CodeDeployState.t option;
    (*

    The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.

    *)
  25. codeDeployApplication : CodeDeployApplication.t option;
    (*

    The CodeDeploy application to which the deployment belongs.

    *)
  26. codeDeployInstanceGroupId : CodeDeployInstanceGroupId.t option;
    (*

    The instance group to which the CodeDeploy instance belongs.

    *)
  27. ec2State : Ec2State.t option;
    (*

    The state of the instance, such as STOPPING or TERMINATING.

    *)
  28. rdsEventCategories : RdsEventCategories.t option;
    (*

    The category of an RDS event.

    *)
  29. rdsEventMessage : RdsEventMessage.t option;
    (*

    The message of an RDS event.

    *)
  30. s3EventName : S3EventName.t option;
    (*

    The name of the S3 CloudWatch Event-based observation.

    *)
  31. statesExecutionArn : StatesExecutionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the step function execution-based observation.

    *)
  32. statesArn : StatesArn.t option;
    (*

    The Amazon Resource Name (ARN) of the step function-based observation.

    *)
  33. statesStatus : StatesStatus.t option;
    (*

    The status of the step function-related observation.

    *)
  34. statesInput : StatesInput.t option;
    (*

    The input to the step function-based observation.

    *)
  35. ebsEvent : EbsEvent.t option;
    (*

    The type of EBS CloudWatch event, such as createVolume, deleteVolume or attachVolume.

    *)
  36. ebsResult : EbsResult.t option;
    (*

    The result of an EBS CloudWatch event, such as failed or succeeded.

    *)
  37. ebsCause : EbsCause.t option;
    (*

    The cause of an EBS CloudWatch event.

    *)
  38. ebsRequestId : EbsRequestId.t option;
    (*

    The request ID of an EBS CloudWatch event.

    *)
  39. xRayFaultPercent : XRayFaultPercent.t option;
    (*

    The X-Ray request fault percentage for this node.

    *)
  40. xRayThrottlePercent : XRayThrottlePercent.t option;
    (*

    The X-Ray request throttle percentage for this node.

    *)
  41. xRayErrorPercent : XRayErrorPercent.t option;
    (*

    The X-Ray request error percentage for this node.

    *)
  42. xRayRequestCount : XRayRequestCount.t option;
    (*

    The X-Ray request count for this node.

    *)
  43. xRayRequestAverageLatency : XRayRequestAverageLatency.t option;
    (*

    The X-Ray node request average latency for this node.

    *)
  44. xRayNodeName : XRayNodeName.t option;
    (*

    The name of the X-Ray node.

    *)
  45. xRayNodeType : XRayNodeType.t option;
    (*

    The type of the X-Ray node.

    *)
}
Sourceval 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 -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t