Skip to content

Amazon Q Developer Usage Metrics using Cloudwatch

0

Based on documentation it seems that a (Cloudwatch) Namespace for AWS/Q can return various usage metrics for Q Developer.

When querying in Windows Powershell CLI, however, I get an empty result where: aws cloudwatch list-metrics --namespace "AWS/Q" --region us-east-1

Result: "Metrics": []

Questions: There has been usage for the past 3 months. Is there a need to configure "AWS/Q" to store the metrics? Are there other alternatives to obtain usage data?

1 Answer
0

To access Amazon Q Developer usage metrics, there are a few considerations and alternatives to explore.

First, the AWS/Q namespace in CloudWatch should automatically collect metrics for Amazon Q Developer usage, but there are some potential reasons why you're not seeing data:

  1. The metrics might be available in a different region than us-east-1 where your Amazon Q Developer usage is occurring.

  2. By default, Amazon Q Developer Usage Activity reporting is turned off. You need to explicitly enable it in the Amazon Q Developer Console. Navigate to your AWS account, go to the Amazon Q Developer Console, select "Settings," and then click the "Edit" button for "Amazon Q Developer Usage Activity" to turn it on.

For alternatives to obtain usage data:

  1. Amazon Q Developer Console Dashboard: The admin console provides a dashboard with usage metrics such as active users and usage trends.

  2. User Activity Reporting: Once enabled, this feature generates daily CSV reports with detailed user interactions, which are stored in an S3 bucket for analysis.

  3. CloudWatch Console: Instead of using the CLI, you can access the CloudWatch console directly at https://console.aws.amazon.com/cloudwatch/, navigate to the Metrics section, and look for "Amazon Q Developer in chat channels" to view available metrics.

  4. Subscription Management: The Amazon Q Developer subscription console provides visibility into user subscriptions, status, and last activity dates across your AWS accounts.

These analytics dashboards can be found in the Insights section within the Amazon Q Business application admin console or in the Amazon Q Developer admin console.
Sources
Monitoring Amazon Q Developer with Amazon CloudWatch - Amazon Q Developer
Monitoring Amazon Q Developer in chat applications with Amazon CloudWatch - Amazon Q Developer in chat applications
Unlocking the power of Amazon Q Developer: Metrics-driven strategies for better AI coding | AWS DevOps & Developer Productivity Blog
Amazon Q Operational Best Practices - Logging and Monitoring | AWS re:Post

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.