dtctl

Manage Dynatrace observability tasks via a kubectl-style CLI interface.

2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/pvellido1/traces-flow --skill dtctl-pvellido1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dtctl
Source: https://github.com/pvellido1/traces-flow/tree/main/.github/skills/dtctl
Command: npx skills add https://github.com/pvellido1/traces-flow --skill dtctl-pvellido1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dtctl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies incident investigation, performance debugging, log analysis, and resource management in Dynatrace. It empowers users to handle a wide range of observability tasks with ease.

Core Features & Use Cases

  • Incident Investigation: Quickly diagnose issues with error rates, latency, and service health.
  • Performance Debugging: Analyze logs and traces to identify root causes.
  • Resource Management: Manage and configure observability resources in Dynatrace.
  • Use Case: When you encounter a service disruption, this Skill can help you identify the affected components, analyze the traces, and take immediate action to resolve the issue.

Quick Start

Use the dtctl skill to fetch logs for a specific service in your Dynatrace environment.

Frequently Asked Questions about dtctl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I investigate incidents and debug performance issues in Dynatrace?

Incident investigation and performance debugging in Dynatrace are handled through a kubectl-style CLI interface that fetches logs and traces to help you quickly diagnose error rates, latency, and service health issues.

What do I need to authenticate and access Dynatrace observability features via CLI?

To access Dynatrace observability features via CLI, you need to authenticate with your Dynatrace environment and ensure you have the necessary API scopes configured for the resources you intend to manage and analyze.

Can I manage and configure Dynatrace observability resources from the command line?

You can manage and configure Dynatrace observability resources from the command line using a kubectl-style interface, allowing you to handle resource configuration tasks directly without navigating the web UI.

How does a kubectl-style CLI improve Dynatrace log analysis?

A kubectl-style CLI improves Dynatrace log analysis by providing a familiar command-line interface to quickly fetch and analyze logs for specific services, helping you identify root causes during service disruptions.

What is the best way to analyze traces for root causes during a service disruption?

The best way to analyze traces for root causes during a service disruption is using a specialized CLI that fetches relevant trace data, identifies affected components, and enables immediate action to resolve the issue.

Does the dtctl skill work without prior Dynatrace API setup?

The dtctl skill does not work without prior setup; it explicitly requires authentication with Dynatrace and access to the necessary API scopes before you can investigate incidents or manage resources.