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
30 Nov 2023 03:42 PM
Fantastic that worked!