DocumentationAPI ReferenceRelease Notes
DocumentationLog In
Documentation

AWS CloudWatch Integration

Send Deepchecks evaluation metrics and application logs to your AWS CloudWatch account - for unified monitoring and log aggregation alongside your other AWS services.

Deepchecks running in AWS SageMaker can stream two kinds of data into your AWS CloudWatch account:

  • Metrics - evaluation metrics and monitoring data, so you can build CloudWatch dashboards and alarms alongside your other AWS telemetry.
  • Logs - Deepchecks application logs, so you can consolidate backend logs with the rest of your AWS log aggregation and retention policies.

Both integrations are independent - enable one, the other, or both. Each is toggled from Workspace Settings / Preference (OWNER role only).

📘

Due to a limitation of AWS SageMaker, CloudWatch data can only be sent to the same AWS region where the Deepchecks Partner AI App is deployed.


CloudWatch Metrics

Send Deepchecks monitoring and evaluation metrics to CloudWatch for unified dashboards and alarms.

IAM permissions

Add the following policy to the execution role you deployed Deepchecks with (called PartnerAiAppExecutionRole in the AWS documentation):

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowSendCloudWatchMetrics",
            "Effect": "Allow",
            "Action": "cloudwatch:PutMetricData",
            "Resource": "*",
            "Condition": {
                "StringEquals": {
                    "cloudwatch:namespace": "DeepChecksLLM"
                }
            }
        }
    ]
}

Enable the feature

🔒

This is only accessible to users with the OWNER role.

  1. Navigate to Workspace Settings / Preference
  2. Under Application Settings / Category, select CLOUDWATCH_SYSTEM_CONFIG
  1. Set enabled to true
📘

Leave role_arn and region_name as is.


CloudWatch Logs

Stream Deepchecks application logs to CloudWatch so they live alongside the rest of your AWS logs, with retention policies you control.

IAM permissions

Add the following policy to the same PartnerAiAppExecutionRole execution role so Deepchecks can create log groups and publish log events:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowSendCloudWatchLogs",
            "Effect": "Allow",
            "Action": [
                "logs:CreateLogGroup",
                "logs:CreateLogStream",
                "logs:PutLogEvents",
                "logs:DescribeLogStreams",
                "logs:PutRetentionPolicy"
            ],
            "Resource": "*"
        }
    ]
}

Log groups are created under the /deepchecks prefix.

Enable the feature

🔒

This is only accessible to users with the OWNER role.

  1. Navigate to Workspace Settings / Preference
  2. Under Application Settings / Category, select CLOUDWATCH_LOGS_CONFIG
  3. Configure the settings:

FieldDescription
enabledSet to true to start streaming logs to CloudWatch.
log_levelMinimum level to forward: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.
retention_daysHow long CloudWatch should retain the log group. Defaults to 90.
📘

Changes take effect within ~15 minutes - the Deepchecks backend polls the configuration on a cached interval rather than reacting instantly.