Skip to technology filters Skip to main content
Dynatrace Hub

Extend the platform,
empower your team.

Popular searches:
Home hero bg
Claude Code Agent monitoringClaude Code Agent monitoring
Claude Code Agent monitoring

Claude Code Agent monitoring

Monitor your Claude Code coding agents with OTel.

Technology
Free trialDocumentation
Claude code agent monitoring metrics
  • Product information

Overview

Claude Code Monitoring provides end-to-end visibility into Claude Code CLI usage using its built-in OpenTelemetry telemetry output. The included dashboard helps engineering and AI leaders understand:

  • Spend and token consumption over time
  • Session volume and active time
  • API request health (errors, latency, volume)
  • Tool activity (tool calls, permission decisions, success rate, duration)
  • Engineering output indicators (commits, PRs, lines added/removed)

What you’ll see (dashboard tiles & why it matters)

The dashboard summarizes

Total Users, Total Cost (USD), Total Tokens, Total Sessions, and Active Time to quantify adoption and spend.
It shows cost over time and token usage over time to spot spikes and trends.
It breaks down event volume by type (api_request, api_error, tool_decision, tool_result, user_prompt) to understand where activity and failures occur.

Engineering output signals include
  • Lines of Code Added/Removed, Total Commits, Total PRs, plus LoC over time and PRs over time to correlate usage with delivery.
API analytics cover
  • Cost by model, token & cost by model, and API latency over time (avg duration) to pinpoint expensive or slow model usage.
Tooling insights include:
  • Most used tools (e.g., bash/read/edit/write), avg tool duration, permission decisions (allow/deny), and tool success rate (success/failure) to validate safety and reliability.
User activity include:
  • Avg session time, avg cost per session, avg tokens per request, and sessions by user for adoption and accountability.
A recent event stream
  • Supports debugging and drilldown of prompts, tool calls and session information

Use cases

How teams use these insights

  • FinOps & governance: track spend/tokens by model, detect runaway sessions, and define guardrails (budgets, thresholds, adoption controls).
  • Reliability & performance: monitor latency, request volume, and errors to catch degradation during peaks or provider incidents.
  • Tool effectiveness & safety: verify tool success, duration, and permission decisions to ensure guardrails work as intended.
  • Adoption & productivity: measure usage and correlate it with PRs/commits/LoC changes to evaluate AI transformation impact.

Get started

  1. Enable telemetry: CLAUDE_CODE_ENABLE_TELEMETRY=1.
  2. Configure OTLP export to your Dynatrace OTLP endpoint (direct or via an OpenTelemetry Collector).
  3. Run Claude Code — telemetry is emitted automatically (no code changes).
  4. Open the dashboard to review cost, tokens, sessions, tool activity, and reliability signals.
  5. For setup examples, dashboard and configuration details, go to GitHub linked on the right side

Details

Requirements

  • Claude Code CLI with built-in OpenTelemetry telemetry support
  • Dynatrace environment with OTLP ingest available
  • Network access from developer machine/runner to Dynatrace OTLP endpoint (direct or via collector)
Dynatrace
DocumentationMore Information
By Dynatrace
Dynatrace support center
Copy to clipboard

Related to Claude Code Agent monitoring

AI Observability logo

AI Observability

End-to-end observability for your Agentic AI and LLM workloads.

Claude Code CLI logo

Claude Code CLI

Boost developer productivity to get real-time, code-level insights into your CLI.

Claude Connector for Workflows logo

Claude Connector for Workflows

Connect with Claude and send prompts for further analysis using Workflows.

Dynatrace Hub
Hub HomeGet data into DynatraceBuild your own app
Dynatrace Intelligence - Agentic Operations System
All (914)Log Management and AnalyticsKubernetesAI and LLM ObservabilityInfrastructure ObservabilitySoftware DeliveryApplication ObservabilityApplication SecurityBusiness ObservabilityDigital Experience
Filter
Type
Built and maintained by
Deployment model
SaaS
  • SaaS
  • Managed
Partner FinderBecome a partnerDynatrace Developer

The Dynatrace Agentic AI ecosystem

Dynatrace Intelligence at the center of the agentic ecosystem — connecting trusted AI Agents across development, operations, and business workflows for seamless, automated collaboration.

SRE Agents - Collaborative Operations

Works hand-in-hand with DevOps and SRE agents to share deep context, co-investigate issues, and deliver precise, automated remediation recommendations.

AWS DevOps Agent logo

AWS DevOps Agent

Resolve issues autonomously with Dynatrace and the AWS DevOps Agent.

Azure SRE Agent logo

Azure SRE Agent

Unlock autonomous cloud operations fueled by Dynatrace insights.

ServiceNow Assist logo

ServiceNow Assist

AI‑driven alert clarity for Now Assist for IT Operations Management (ITOM).

Cloud SRE Agents logo

Cloud SRE Agents

Orchestrate cloud-native AI agents for autonomous incident resolution.

ITSM and ITOps Agents - Closed-Loop Autonomous Operations

Dynatrace Intelligence collaborates with and orchestrates ITSM and automation workflow agents for complete resolution, streamlining workflows and eliminating manual handoffs.

Atlassian Rovo Ops logo

Atlassian Rovo Ops

Resolve incidents faster with Dynatrace agentic insights in JIRA or Confluence.

PagerDuty​ Agent logo

PagerDuty​ Agent

Integrate Dynatrace with PagerDuty to automate incident creation and management.

ServiceNow Assist logo

ServiceNow Assist

AI‑driven alert clarity for Now Assist for IT Operations Management (ITOM).

Developer and Coding Agents - AI-Powered Code Repair

Answers and context enables coding agents to auto-fix bugs and vulnerabilities, accelerating recovery and freeing up innovation time.

See more (6)
Kiro logo

Kiro

Get code-level insights for troubleshooting optimization and remediation.

GitHub Copilot logo

GitHub Copilot

Accelerate code-level error-resolution with real-time production insights.

Atlassian Rovo Dev logo

Atlassian Rovo Dev

Prioritize and remediate production-impacting vulnerabilities with AI context.

Gemini Code Assist logo

Gemini Code Assist

Boost developer productivity and get code-level insights into Gemini Code Assist.

Claude logo

Claude

Boost productivity to get real-time, code-level insights into Claude Code.

Cline logo

Cline

Boost developer productivity and get real-time, code-level insights into Cline.

Others

n8n logo

n8n

Build agentic workflows based on reliable, real-time production insights.

Postman logo

Postman

Bring real runtime observability into Postman’s Agent Mode for API workflows.

Port AI logo

Port AI

Ground every Port AI conversation in live Dynatrace production data.

AI Model Integrations

Uplevel your workflows running in Dynatrace with connecting to external LLMs.

Claude Connector for Workflows logo

Claude Connector for Workflows

Connect with Claude and send prompts for further analysis using Workflows.

Gemini Connector for Workflows logo

Gemini Connector for Workflows

Connect with Gemini and send prompts for further analysis using Workflows.

OpenAI Connector for Workflows logo

OpenAI Connector for Workflows

Connect with OpenAI and send prompts for further analysis using Workflows.

Are you looking for something different?

We have hundreds of apps, extensions, and other technologies to customize your environment

More resources

Dynatrace Intelligence

Dynatrace Intelligence

AI-powered observability from Dynatrace enables the next generation software delivery life cycle process with AI engineering, AI operations, agentic SRE, and AI business analytics, through real-time facts from production systems.
Read more
Dynatrace MCP Server

Dynatrace MCP Server

Enable your AI assistants to interact with Dynatrace and access live production insights.
Read more
Agentic ecosystem

Agentic ecosystem

AI is only as smart as the data it works with and only as effective as the workflows it’s embedded into.
Read more
Learn what's inside Dynatrace Intelligence

Learn what's inside Dynatrace Intelligence

The tools, ready-made agents and workflows that power the agentic operations system.
Learn more