dtctl

Manage Dynatrace resources and run DQL queries from the command line.

173|59|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/dynatrace-oss/dtctl --skill dtctl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dtctl
Source: https://github.com/dynatrace-oss/dtctl/tree/main/skills/dtctl
Command: npx skills add https://github.com/dynatrace-oss/dtctl --skill dtctl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

dtctl provides a unified CLI to manage Dynatrace resources and run DQL queries from the terminal, replacing ad-hoc manual steps and scattered API calls with a cohesive workflow.

Core Features & Use Cases

  • Kubectl-style UX: Familiar commands like get, describe, edit, apply, delete for Dynatrace resources.
  • Multi-resource management: Workflows, dashboards, notebooks, SLOs, settings, buckets, and lookups across environments.
  • AI-friendly and automation-ready: Structured outputs, template support, and integration with automation tools to streamline DevOps workflows.

Quick Start

Install dtctl from the latest release or source, configure your environment, and begin managing Dynatrace resources from the command line.

Frequently Asked Questions about dtctl

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

FAQPage Schema
How do I manage Dynatrace resources from the command line?

You can manage Dynatrace resources from the command line using a kubectl-style CLI to provision, monitor, and troubleshoot workflows, dashboards, notebooks, SLOs, settings, buckets, and lookups with familiar commands like get, apply, and delete.

Can I run DQL queries from the terminal without making ad-hoc API calls?

Yes, you can run DQL queries directly from the terminal, replacing scattered ad-hoc API calls with a cohesive, structured command-line workflow that provides safe defaults and clearly defined output flags.

Does a kubectl-style CLI support automation for Dynatrace environments?

Yes, the kubectl-style CLI supports automation for Dynatrace environments by providing structured outputs, template support, dry-run flags, and environment context handling to streamline DevOps workflows.

How do I apply configuration changes across multiple Dynatrace environments safely?

You can apply configuration changes across multiple Dynatrace environments safely by using the CLI's environment context handling and dry-run flags, ensuring structured execution before committing modifications to workflows or dashboards.

What is the best way to automate SLO and dashboard provisioning in Dynatrace?

The best way to automate SLO and dashboard provisioning in Dynatrace is using a kubectl-style CLI that applies templates and manages resources across environments, replacing manual configuration with automated DevOps workflows.