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.
83
86%
Does it follow best practices?
Impact
96%
1.95xAverage score across 2 eval scenarios
Passed
No known issues
DQL log aggregation query with correct field names and syntax
Correct log severity field
100%
100%
Equality operator ==
100%
100%
Static array with curly braces
100%
80%
Case-insensitive via contains()
0%
100%
lower() not toLowercase()
100%
100%
Filter immediately after fetch
100%
100%
countIf for conditional counts
100%
100%
from: time parameter
80%
100%
by: clause with curly braces
100%
100%
Backtick on special-character fields
100%
50%
Metrics timeseries percentile and scalar aggregation
timeseries for CPU values
0%
100%
timeseries for response time
0%
100%
rollup: in percentile call
0%
100%
percentile inside timeseries {}
0%
100%
scalar:true parameter
0%
100%
dt.smartscape.host in CPU query
0%
100%
dt.smartscape.host in scalar query
0%
100%
@ alignment correct order
0%
100%
duration literals for from:
40%
100%
m vs M distinction
100%
100%
rollup: placement (not command-level)
40%
100%
9b399fa
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.