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

Process Group Name

errolclements
Visitor

I am trying to put together a notebook to see network load by process, I am only seeing an option for seeing the process group and it is only giving it by ID. I would like to see the actual process group entity name on my chart but my lookup fails to provide it, and there is no name option for process group as a by: process option as where host.name exists for the same purpose for looking at your hosts without needing to use a lookup. Can any help me out.

 

Thanks!

5 REPLIES 5

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi @errolclements 

 

Is this the query you are looking for?

timeseries {trafficIn=avg(dt.process.network.traffic.traffic_in),trafficOut=avg(dt.process.network.traffic.traffic_out)},
  by: {dt.entity.process_group}
| fieldsAdd pgname = lookup([fetch dt.entity.process_group], lookupField:id, sourceField:dt.entity.process_group)[entity.name]

 

You can try it out in the Discover Dynatrace environment

Best,
Sini

Hi Sinisa

I am trying to use this query in DQL in my notepad but its not giving me any out output, I have multiple hosts in our environment. Any clue or suggestion please. 

Thanks

errolclements
Visitor

Fantastic that worked!

Nick-Montana
Advisor

Hi,

In DQL the entityName() function will convert an entityId to its displayName in the results. Try

entityName(dt.entity.process_group)

Nick Montana

Hi Nick

I understand what you mean however even if I am try to break the query to run the below, I get no output.

timeseries {trafficIn=avg(dt.process.network.traffic.traffic_in),trafficOut=avg(dt.process.network.traffic.traffic_out)}, by: {dt.entity.process_group}

Featured Posts