# How to get tech.jvm.threads.totalCpuTime metric for 2 management zones in data explorer?

**URL:** <https://community.dynatrace.com/t/how-to-get-tech-jvm-threads-totalcputime-metric-for-2-management-zones-in-data-explorer/51244>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, data-explorer\
**Created:** [April 16, 2025, 6:16am UTC](https://community.dynatrace.com/t/how-to-get-tech-jvm-threads-totalcputime-metric-for-2-management-zones-in-data-explorer/51244 "2025-04-16T06:16:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [April 16, 2025, 11:04pm UTC](https://community.dynatrace.com/t/how-to-get-tech-jvm-threads-totalcputime-metric-for-2-management-zones-in-data-explorer/51244/2 "2025-04-16T23:04:35Z")

</div>

You will have to alter the expression to properly make use of the or() logic. The format (with line breaks added to enhance readability) is as follows

```javascript
or(
in("<entity_type>",<entitySelector expression for MZ1>),
in("<entity_type>",<entitySelector expression for MZ2>)
)

```

I believe this is similar to your question about synthetic tests from two management zones, where a similar approach was [suggested](https://community.dynatrace.com/post/275194).

---

_[View the full topic](https://community.dynatrace.com/t/how-to-get-tech-jvm-threads-totalcputime-metric-for-2-management-zones-in-data-explorer/51244)._
