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

Querying metrics using DQL metrics.key and metrics selector API

StephenLHChan
Observer

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. 

1 REPLY 1

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.