28 Nov 2023 08:54 PM
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!
Solved! Go to Solution.
29 Nov 2023 06:44 PM
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
24 Oct 2025 12:31 PM
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
30 Nov 2023 03:42 PM
Fantastic that worked!
24 Oct 2025 02:54 PM
Hi,
In DQL the entityName() function will convert an entityId to its displayName in the results. Try
entityName(dt.entity.process_group)
24 Oct 2025 03:16 PM
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}