# Query for workload requests

**URL:** <https://community.dynatrace.com/t/query-for-workload-requests/47828>\
**Category:** Container platforms\
**Tags:** kubernetes\
**Created:** [September 19, 2024, 9:20am UTC](https://community.dynatrace.com/t/query-for-workload-requests/47828 "2024-09-19T09:20:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gibilisco](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Gibilisco](https://community.dynatrace.com/u/Gibilisco)\
**Post date:** [September 19, 2024, 9:20am UTC](https://community.dynatrace.com/t/query-for-workload-requests/47828/1 "2024-09-19T09:20:57Z")

</div>

Hi,

I’ve noticed that the query used to show the CPU requests of a workload from the workload entity page is like the following one.

```markup
builtin:kubernetes.workload.requests_cpu:filter(eq("dt.entity.cloud_application",CLOUD_APPLICATION-D208D96CD2DA8E7A)):splitBy("dt.entity.cloud_application"):sum

```

What is the rationale behind the latest split by and aggregation?&nbsp;  
A simpler query like the following one provides the same results but I’m not sure there are corner cases which I’m not seeing.

```markup
builtin:kubernetes.workload.requests_cpu:filter(eq("dt.entity.cloud_application",CLOUD_APPLICATION-D208D96CD2DA8E7A))

```

Thank you.

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 20, 2024, 1:34am UTC](https://community.dynatrace.com/t/query-for-workload-requests/47828/2 "2024-09-20T01:34:12Z")

</div>

I think both the queries would provide you with a similar result in this case , just that the first one is a autogenerated when you open it Data explorer from&nbsp;workload entity page. The&nbsp;splitBy and aggregation may not make much deference in this specific case as you are already filtering it to a specific workload and the value returned is very constant.

the aggregation might make a difference in other use cases if you choose metrics like CPU usage or CPU throttling
