Enable CloudWatch query metrics in Athena - Amazon Athena
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 31, 2025.

Enable CloudWatch query metrics in Athena

When you create a workgroup in the console, the setting for publishing query metrics to CloudWatch is selected by default.

To enable or disable query metrics in the Athena console for a workgroup
  1. Open the Athena console at https://eusc-de-east-1.console.amazonaws-eusc.eu/athena/.

  2. If the console navigation pane is not visible, choose the expansion menu on the left.

    Choose the expansion menu.
  3. In the navigation pane, choose Workgroups.

  4. Choose the link of the workgroup that you want to modify.

  5. On the details page for the workgroup, choose Edit.

  6. In the Settings section, select or clear Publish query metrics to AWS CloudWatch.

If you use API operations, the command line interface, or the client application with the JDBC driver to create workgroups, to enable publishing of query metrics, set PublishCloudWatchMetricsEnabled to true in WorkGroupConfiguration. The following example shows only the metrics configuration and omits other configuration:

"WorkGroupConfiguration": { "PublishCloudWatchMetricsEnabled": "true" .... }