Core DQL syntax rules, common pitfalls, and query patterns. Load this skill when you need to write, build, or fix a DQL query — it prevents syntax errors and guides correct usage. Covers fetch commands, data models, field namespaces, time alignment, entity patterns, metric discovery, and smartscape topology navigation. Trigger: "write a DQL query", "build me a query", "DQL syntax", "how do I query logs/spans/metrics in Dynatrace", "create a timeseries", "fix my DQL", "fetch logs", "smartscapeNodes", "query optimization". Do NOT use for explaining an existing query or answering Dynatrace product questions — those do not require query-construction guidance.
90
86%
Does it follow best practices?
Impact
94%
1.59xAverage score across 3 eval scenarios
Passed
No known issues
Timeseries rollup and scalar conversion
timeseries command used
100%
100%
correct metric key
100%
100%
rollup inside percentile
0%
100%
rollup inside median
0%
100%
scalar:true for derived summary
0%
0%
dt.smartscape.host grouping
0%
100%
time range specified
100%
100%
@ alignment offset-first order
100%
100%
no @ spacing error
100%
100%
multiple aggregations in block
100%
100%
Log query syntax fixes and chained lookups
loglevel field name
0%
100%
from: syntax fixed
100%
100%
static array literal syntax
50%
100%
case-insensitive contains
0%
100%
combined aggregations
100%
100%
filter before summarize
100%
100%
chained lookup field preservation
100%
100%
fix notes document issues
100%
100%
by: curly braces
100%
100%
equality operator ==
100%
100%
Smartscape topology blast-radius analysis
toSmartscapeId() used
0%
100%
full traverse syntax
0%
70%
dt.smartscape not dt.entity
80%
100%
large object fields avoided
100%
100%
edge discovery query present
100%
100%
matchesValue for tag array
0%
100%
multi-hop traversal
100%
100%
filter before traverse
100%
100%
fields selection used
100%
100%
7cbe1ef
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.