Tutorial Feedback

Use the form below to provide feedback on this page / tutorial as a whole.

Skip to content

Arc Store: Agentic Debugging Demo#

Support Policy

This is a demo project created by the Developer Relations team at Dynatrace, showcasing integrations with open source technologies.

Support is provided via GitHub issues only. The materials provided in this repository are offered "as-is" without any warranties, express or implied. Use them at your own risk.

View the Code

The code for this repository is hosted on GitHub. Click the "View Code on GitHub" link above.

Overview#

This demo showcases an end-to-end root cause analysis use case involving Dynatrace detecting application problems, workflows for log gathering and GitHub issue creation, and claude code for investigating the issue with the help of Dynatrace's DTCTL command line tool.

When the Arc Store e-commerce app encounters an error parsing a response from the tax service, Dynatrace detects it, raises a Problem, creates a Github issue, and hands off to a Claude Code AI agent. The agent investigates using logs, distributed traces, and the Dynatrace Live Debugger, finds the root cause, and opens a pull request with a fix — all automatically.

The Flow#

Arc Store agentic debugging workflow

The demo runs across three phases:

  • Phase 1 — Detection

    The Arc Store calls a tax service. A parsing error triggers Dynatrace's OpenPipeline, which raises a Problem. A Dynatrace Workflow creates a GitHub issue from the problem details.

  • Phase 2 — Investigation

    The GitHub issue triggers a GitHub Action. A Python orchestrator launches Claude Code via the Agent SDK. Claude uses dtctl to query logs, distributed traces, and set non-breaking Live Debugger breakpoints.

  • Phase 3 — Remediation

    The agent opens a pull request with a proposed fix and supporting evidence, then posts a CUSTOM_ANNOTATION event back to the Dynatrace Problem to close the loop.

Components#

Component Technology
Arc Store frontend React (Vite) + nginx
Arc Store backend Spring Boot 3.2
Tax service External service (separate repo)
Kubernetes Kind (local)
Observability Dynatrace — OpenPipeline, Workflows, Live Debugger
AI agent Claude Code SDK
Investigation CLI dtctl
Automation GitHub Actions