28 Feb 2023
08:25 AM
- last edited on
30 May 2023
03:18 AM
by
MaciejNeumann
Hey,
I am now deciding whether to use metrics API or DQL to query metrics. But now, I am facing a problem that I can't find some metrics using DQL. (e.g. builtin:host.cpu.load15m)
Is that all metrics that can be queried by metrics selector can also be use DQL to query?
Thanks.
Solved! Go to Solution.
Hi Stephen - DQL is only used for querying logs and events with Grail: DQL Documentation.
For the metric selector, metric queries are handled differently, and do not use DQL. I'd recommend checking out the Data Explorer Advanced Mode to get a better idea of how metric queries are handled.
Hello @StephenLHChan,
With the rollout of the latest Dynatrace, the DQL can also query metrics. Here you can find the documentation article with the list of all metrics supported by Grail:
Built-in metrics on Grail