View a markdown version of this page

Monitoring in Amazon SageMaker Unified Studio - Amazon SageMaker Unified Studio

Monitoring in Amazon SageMaker Unified Studio

The Monitoring page in Amazon SageMaker Unified Studio gives you prebuilt dashboards for the analytics services that your projects use. The dashboards read the system tables that AWS services publish to Amazon S3 Tables in your account, such as Amazon Athena query history or Amazon Redshift query logs. You don't need to write queries or build a data pipeline. You set up a dashboard once, and Amazon SageMaker Unified Studio updates it every day.

Monitoring dashboards

The following table lists the dashboards, the questions that each helps you answer, and where you find it.

Dashboard Where you find it What it helps you answer
Domain and project usage The Domain Management portal and the domain's admin project How are projects, blueprints, environments, user profiles, assets, and subscriptions growing across the domain?
Athena queries and data scanned The Domain Management portal and every project Which queries are slow or failing, how much data each workgroup scans, and who runs the most queries?
Redshift queries and access The Domain Management portal and every project How are query volume and latency trending, which queries are slow or failing, and who ran what across warehouses?
Spark jobs on EMR and Glue The Domain Management portal and every project Which Spark jobs failed or ran slower than usual, why, and did a Spark setting change come before the failure?

How monitoring dashboards work

When you choose Set up on a dashboard, Amazon SageMaker Unified Studio creates the dashboard in the project, runs its first update, and schedules a daily update. Setup takes about 15 seconds. The first update takes about 5 to 10 minutes, and the dashboard shows Getting your data ready until it finishes. You don't need to stay on the page while the first update runs.

After that, the dashboard updates once a day. To update it sooner, choose Update now. Each dashboard reads the system tables in the project's AWS account and Region.

Which system tables each dashboard reads

Before you set up a dashboard, turn on the system tables that it reads, in the project's AWS account and Region. The following table lists the system tables for each dashboard and where to turn them on.

Dashboard Tables it reads How to turn them on
Domain and project usage Amazon SageMaker Unified Studio usage system tables In Amazon SageMaker Unified Studio. See Turning on usage system tables for a domain in the Amazon SageMaker Unified Studio Administrator Guide.
Athena queries and data scanned Amazon Athena system tables See Use Athena system tables in the Amazon Athena User Guide.
Redshift queries and access Amazon Redshift system tables See System table integration with S3 Tables in the Amazon Redshift Management Guide.
Spark jobs on EMR and Glue Amazon EMR system tables, AWS Glue system tables, or both See the Amazon EMR Management Guide and the AWS Glue Developer Guide.

For the Spark jobs on EMR and Glue dashboard, either Amazon EMR or AWS Glue is enough. If only one publishes system tables, the dashboard shows that service and notes that the other isn't included.

The dashboards read the system tables through the AWS Glue Data Catalog, so Amazon S3 Tables must be integrated with the Data Catalog in the account and Region. For more information, see Integrating Amazon S3 Tables with AWS analytics services in the Amazon S3 User Guide.

Opening a dashboard from another AWS console

The Amazon Redshift, Amazon Athena, Amazon EMR, and AWS Glue consoles include an Analyze with Amazon SageMaker Unified Studio button. It opens the matching dashboard in Amazon SageMaker Unified Studio, and starts setting up the dashboard if it isn't set up yet. If you don't have a Amazon SageMaker Unified Studio domain yet, the button takes you through creating one first. The following table lists where the button appears in each console.

Console Opens Where the button appears
Amazon Redshift Redshift queries and access Query and database monitoring, the data warehouses list, and the system table integration card of a namespace or cluster. The Query and database monitoring pages also show a banner with an Analyze button.
Amazon Athena Athena queries and data scanned The System tables page
Amazon EMR Spark jobs on EMR and Glue The System tables, Job runs, and Sessions pages
AWS Glue Spark jobs on EMR and Glue The System tables page, and Session history under Interactive sessions

Read access to system tables

A dashboard reads the system tables as the project's role, so that role needs read access to the tables that the dashboard uses.

  • Lake Formation administrator roles: If the project's role is an AWS Lake Formation data lake administrator, the dashboard grants that role read access before each update. It grants DESCRIBE on each system table database that it reads, and SELECT and DESCRIBE on each table that it reads. It grants access to those tables only, and never to any other principal.

  • Other roles: Grant the project's role SELECT and DESCRIBE on the system tables in Lake Formation, and then choose Update now. For an example grant, see Querying the usage system tables in the Amazon SageMaker Unified Studio Administrator Guide.

Considerations and limitations

  • Pricing: There's no additional charge for the dashboards. Each update, including the daily scheduled update and Update now, runs Amazon Athena queries over the system tables, and standard Athena query charges apply. Standard S3 Tables storage and maintenance charges apply to the system table data. To reduce storage, set record expiration on the system table bucket. Deleting a dashboard stops its daily updates.

  • Regions: The Domain and project usage, Athena queries and data scanned, and Redshift queries and access dashboards are available in every AWS Region where Amazon SageMaker Unified Studio is available. The Spark jobs on EMR and Glue dashboard is available only in Regions where Amazon EMR and AWS Glue system tables are available.

  • Account and Region: Each dashboard reads the system tables in the project's AWS account and Region. To monitor another account or Region, set up the dashboard in a project in that account and Region.

  • Freshness: Dashboards update once a day, and each service delivers its system tables on its own schedule. A dashboard can lag the source by up to a day plus the service's delivery interval.

  • Domain and project usage: This dashboard is available only to domain administrators, in the Domain Management portal and the domain's admin project, and only from the domain's account.