27 Feb 2025 02:32 PM
Hi everyone,
I want to get the sum of all the traffic-in of a process, but I thinnk it is only available using the metric "Bytes received" (builtin:tech.generic.network.bytesRx), with data in BytePerSecond.
How is it possible to get the value of all the traffic-in of a period of time in Mb (not Mb/s)? I'm using the following expression, but I think it is only valid for 24 hours (timeframe "Last 24 hours"):
(60)*(builtin:tech.generic.network.bytesRx:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),fromRelationship.isInstanceOf(type(PROCESS_GROUP),entityName.equals(~"Apache Web Server Apache* - MyApp~"))"))))):splitBy():sum:auto):fold
Thank you.
Solved! Go to Solution.
27 Feb 2025 03:41 PM
You already have data for minutes (as you multiply by 60). But: if you select longer intervals, you got buckets larger than 1minute. Try to remove fold from expression, use single value with fold:sum, force 1minute resolution and you will see more accurate results.