cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Querying metrics using DQL metrics.key and metrics selector API

StephenLHChan
Participant

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. 

2 REPLIES 2

chris_smerek
Dynatrace Enthusiast
Dynatrace Enthusiast

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.

 

 

MaciejNeumann
Community Team
Community Team

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 

If you have any questions about the Community, you can contact me at maciej.neumann@dynatrace.com