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

Timeseries with entity name

stefan_eggersto
Dynatrace Mentor
Dynatrace Mentor
When I run the DQL timeseries cpu=avg(dt.host.cpu.usage), by:dt.entity.host, I only get the ID for each series. When I run the equivalent metric selector builtin:host.cpu.usage:splitBy("dt.entity.host") in the Data Explorer, the list is broken down by hostname.
 
How can I display the hostname with DQL?
 
1 REPLY 1

educampver
Dynatrace Advisor
Dynatrace Advisor

Hi Stefan, you just add the host.name to the dimensions you want to split by

 

timeseries cpu=avg(dt.host.cpu.usage), by:{dt.entity.host, host.name}

 

 

 

Featured Posts