Amazon CloudWatch announces coding agent insights
Track AI coding agent ROI, token spend, and PR velocity across teams—all in CloudWatch, with no extra instrumentation needed.
View original announcement →Visual Summary
What's New
Amazon CloudWatch has launched Coding Agent Insights, a new capability that gives engineering leaders unified visibility into how AI coding tools—including Claude Code, OpenAI Codex, and GitHub Copilot—are driving value across their organizations. The feature ingests OpenTelemetry metrics emitted by these agents and surfaces them in pre-built CloudWatch dashboards alongside existing operational data, requiring no additional instrumentation when using the Claude apps gateway for AWS. Engineering teams can now track token spend, correlate agent adoption with software delivery metrics like commit throughput and pull request velocity, and optimize model selection by cost-to-output ratio.
How It Works
- OTel-native ingestion: Coding agents emit OpenTelemetry (OTel) metrics—covering token consumption, per-turn latency, tool calls, API requests, and approvals—which are sent to CloudWatch's native OTLP metrics endpoint without requiring custom instrumentation.
- Claude apps gateway integration: The Claude apps gateway for AWS acts as a self-hosted control plane that sits between developers' Claude Code clients and the model provider, automatically relaying OTLP telemetry to CloudWatch (or other collectors) as part of every request.
- Identity and org attribute enrichment: Identity and organizational attributes such as
user.email,team.id,department,cost_center, andorganizationmust be sent as OTel resource attributes; the gateway handles this automatically for Claude Code users. - Pre-built dashboards: Coding Agent Insights dashboards appear automatically under the GenAI Observability section in the CloudWatch console and populate as soon as agents begin sending metrics in the expected shape—no dashboard creation or import is needed.
- Multi-agent support: Beyond Claude Code (via the gateway), OpenAI Codex and GitHub Copilot are also supported, each with their own setup guide for configuring OTel emission to CloudWatch using bearer tokens or enterprise SSO paths.
- Slicing and dicing: Dashboards allow filtering and comparison across organizational dimensions (organization, department, team, cost center, user), and underlying data can be exported as CSV for further analysis.
- Alerting: Proactive token billing alerts can be configured using standard CloudWatch alarms on the ingested OTel metrics.
Why It's Important
- ROI visibility at scale: As AI coding agent adoption grows, organizations have lacked a standardized way to measure return on investment; Coding Agent Insights directly addresses this gap by correlating agent usage with engineering delivery metrics.
- Cost governance: Engineering leaders can right-size token budgets by department or team, identify overspend, and compare cost-to-output ratios across different models—turning AI tooling from an opaque cost center into a manageable line item.
- Accelerates adoption decisions: By showing which teams are benefiting most from AI coding agents, the feature provides data-driven justification for expanding or restricting access, removing guesswork from rollout planning.
- Unified observability: Presenting AI coding agent telemetry alongside existing CloudWatch operational data (infrastructure, application performance) enables teams to draw correlations—e.g., whether increased agent usage coincides with faster deployments or fewer incidents.
- Reduced instrumentation burden: The zero-instrumentation path via the Claude apps gateway lowers the barrier to collecting meaningful telemetry, making it practical for organizations without dedicated observability engineering resources.
- Enterprise governance alignment: Integration with corporate IdP (via OIDC/SSO) means usage data is automatically attributed to real organizational identities, supporting chargeback, compliance, and audit requirements.
How It's Different
- No custom instrumentation required (for Claude Code): Unlike generic OTel pipelines that require manual SDK integration, the Claude apps gateway automatically emits telemetry in the exact metric and attribute shape the dashboards expect, eliminating setup friction.
- Pre-built, auto-populating dashboards: Rather than requiring teams to build their own dashboards from raw metrics, Coding Agent Insights provides ready-to-use views that appear automatically in the CloudWatch console as soon as data flows in.
- Correlated with engineering delivery metrics: Most AI cost dashboards focus solely on token spend; Coding Agent Insights uniquely correlates agent usage with software delivery outcomes like commit throughput and PR velocity within the same observability platform.
- Multi-agent, multi-vendor coverage: The feature supports agents from multiple vendors (Anthropic, OpenAI, GitHub) under a single dashboard, avoiding the need to maintain separate observability stacks per tool.
- Organizational hierarchy awareness: The dashboards natively understand org-level dimensions (team, department, cost center), which is uncommon in general-purpose observability tools and critical for enterprise chargeback and access decisions.
- Integrated with existing CloudWatch workflows: Because it builds on standard CloudWatch metrics infrastructure, teams can reuse existing alarms, anomaly detection, and dashboarding workflows rather than adopting a new tool.
When to Prefer It
- Scaling AI coding agent rollouts: When an organization is moving from pilot to broad deployment of AI coding tools and needs data to guide access expansion, budget allocation, and team prioritization.
- Engineering cost accountability: When finance or engineering leadership requires department-level or cost-center-level attribution of AI tooling spend for chargeback or budgeting purposes.
- Measuring developer productivity impact: When you want to quantify whether AI coding agents are actually improving delivery metrics (PR velocity, commit throughput) rather than relying on anecdotal evidence.
- Multi-agent environments: When your organization uses more than one AI coding tool (e.g., some teams on Claude Code, others on GitHub Copilot) and you need a unified view rather than siloed per-vendor dashboards.
- Already invested in CloudWatch: When your observability stack is primarily CloudWatch-based and you want to avoid introducing a separate SaaS tool just for AI coding agent analytics.
- Enterprise governance requirements: When your organization requires SSO-based identity attribution, audit trails, or policy enforcement for AI tool usage—capabilities provided by the Claude apps gateway integration.
- Token budget optimization: When you suspect token budgets are either over-provisioned (wasting money) or under-provisioned (limiting productivity) and need per-team data to right-size allocations.
Availability
- GA status: Generally available as of July 20, 2026.
- Supported regions: Available in all AWS commercial regions except Middle East (UAE), Middle East (Bahrain), and Israel (Tel Aviv).
- Supported agents: Claude Code (via Claude apps gateway), OpenAI Codex, and GitHub Copilot; each has a dedicated setup guide in the CloudWatch documentation.
- Pricing: Standard CloudWatch OpenTelemetry metric ingestion pricing applies; there is no additional charge specific to Coding Agent Insights dashboards beyond the cost of ingesting the OTel metrics.
- Free tier: The first 10 custom/detailed monitoring metrics per month fall within the CloudWatch free tier; beyond that, standard custom metrics pricing applies.
- Prerequisites (Claude Code path): Requires Claude Code v2.1.195 or later, an OIDC-compatible identity provider, PostgreSQL 14+, and a TLS-enabled deployment environment running Linux in production.
- Dashboard availability: Dashboards auto-populate under GenAI Observability > Coding Agent Insights in the CloudWatch console; no manual import is required.
Related Resources
- https://aws.amazon.com/blogs/machine-learning/introducing-claude-apps-gateway-for-aws/
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/coding-agents-claude-code-gateway.html
- https://aws.amazon.com/cloudwatch/pricing/
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/coding-agents-insights.html