Dynatrace tips
Tips and workarounds from Dynatrace users for Dynatrace users.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dtctl - Brings the power of kubectl to Dynatrace!

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi all

In his spare time one of our Principal Dynatrace architects - @Christoph_Neum - wrote a really slick Command Line tool for Dynatrace called dtctl. 

dtctl brings the power of kubectl to Dynatrace — manage workflows, dashboards, queries, and more from your terminal. Built for developers who prefer the command line and AI-assisted workflows.

dtctl get workflows # List all workflows
dtctl query "fetch logs | limit 10" # Run DQL queries
dtctl edit dashboard "Production Overview" # Edit resources in your $EDITOR
dtctl apply -f workflow.yaml # Declarative configuration

While dtcli is not officially supported by Dynatrace its available for everyone on the Dynatrace Open Source GitHub Repo: https://github.com/dynatrace-oss/dtctl

Give it a try, provide feedback, contribute if you want. Most of all - show some love for the work from Christoph!

Contact our DevRel team through devrel@dynatrace.com
0 REPLIES 0

Featured Posts