Repository navigation
v0.43.0
This release adds an opt-in local tally of the DQL data dtctl scans (dtctl usage), points agents at the Dynatrace for AI companion skills, and moves TOON output to the 2.0 format. It also ships Go 1.26.9 for the latest govulncheck fixes.
✨ Highlights
See what your scripts and agents scan: dtctl usage (#693)
Turn it on per context and dtctl keeps a running tally of every DQL execution it runs, failed ones included:
dtctl config set-context <context> --usage-tracking --global
dtctl usage # today, last 7 days, last 30 days for the current context
dtctl usage --all-contexts
dtctl usage reset # clear the current context (--all-contexts: delete the file)
- Off by default. With tracking off, nothing is written.
- Counters only. Per day and per context: queries, failed queries, scanned bytes, records and data points. No query text, results, identity or tokens are stored. The file is
usage.jsonin the XDG state dir (mode 0600), updated atomically under a lock; days older than 90 are pruned. A tally that can't be written never fails or slows the command. - Global config only. Like aliases and hooks, a project-local
.dtctl.yamlcan't opt a context in:dtctl usagewarns when it ignores one, andset-context --usage-trackingrefuses to write to a local config. - Not a bill. Scan volume is shown in GiB/MiB and counts only what dtctl ran on this machine. For authoritative consumption, query the billing events.
The command is experimental.
Agents find the companion skills (#692)
The dtctl skill gains a short "Companion skills" section naming dt-dql-essentials, dt-obs-* and dt-app-*. When dt-dql-essentials isn't installed, dtctl skills install prints npx skills add dynatrace/dynatrace-for-ai (on stderr, or in context.suggestions in agent mode). It never changes the exit code.
Changes to be aware of
- TOON output uses the 2.0 format (#686).
-o toonarray headers no longer carry the[#N]length marker. If you parse TOON output, check your parser.
🔧 Maintenance
- Go 1.26.9 and
golang.org/x/net0.60.0 clear the current govulncheck findings (#691). - Dependency updates:
toon-go0.1.0, OpenTelemetry 1.47.0,x/sync0.24.0,x/sys0.49.0 (SDK), plus thesetup-pythonandsbom-actionCI actions.
Full Changelog: v0.42.0...v0.43.0