# Monitoring Mode Count

**URL:** <https://community.dynatrace.com/t/monitoring-mode-count/53049>\
**Category:** Dashboarding\
**Tags:** dashboards\
**Created:** [August 20, 2025, 4:49pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049 "2025-08-20T16:49:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeL](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MikeL](https://community.dynatrace.com/u/MikeL)\
**Post date:** [August 20, 2025, 4:49pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/1 "2025-08-20T16:49:24Z")

</div>

Is their a way in DT Dashboard to create a single Tile or Table showing the count of Host set in Full Stack & Infra mode. Then if that count changes, the tiles changes color based on simple threshold, simply way to check dynamically.  
Script example or Demo Dashboard we can clone to grab that tile.&nbsp;  
We have some scenarios where some of our hundreds of VM Monitoring Mode get changed without notice.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [August 20, 2025, 5:00pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/2 "2025-08-20T17:00:54Z")

</div>

Yes, you can

Using this simple DQL you can achieve this:

```markup
fetch dt.entity.host
| fields entity.name, monitoringMode
| filterOut isNull(monitoringMode)
| summarize Total = count(),by:{monitoringMode}

```

Then you play around with visualizations and thresholds to achieve what you need.

Regards.

---

<div class="post-metadata">

**Author:** ![MikeL](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MikeL](https://community.dynatrace.com/u/MikeL)\
**Post date:** [September 22, 2025, 12:40pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/3 "2025-09-22T12:40:17Z")

</div>

Much appreciated, I will try to get the DT techs to create us a tile we can close to our dashboards.

Would you also know why we cannot get any results when trying to do similar via&nbsp;Data Explorer \> Adv Metric Explorer:&nbsp;&nbsp;  
When we try this…

builtin:host.splitBy(monitoringMode):count

builtin:host.availability:splitBy(monitoringMode):count

after we type “builtin:”, we only get Apps.\*, but not host.\*?

 ![DTNoHostOption.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/5/6/56d756cb8381da1601e7987a7a7a439a7ed098f6.jpeg)

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [September 22, 2025, 5:51pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/4 "2025-09-22T17:51:07Z")

</div>

You should have&nbsp; builtin:host.\* metrics there. Have you tried to type&nbsp;builtin:host. and see if the list appear?

But, you will not get any metric that gives you the number of hosts by monitoring mode, since it is not a dimension for any metric.

> **[Built-in classic metrics](https://docs.dynatrace.com/docs/analyze-explore-automate/metrics-classic/built-in-metrics)**
>
> Explore the complete list of built-in Dynatrace metrics.

> **[Built-in Metrics on Grail](https://docs.dynatrace.com/docs/analyze-explore-automate/metrics/built-in-metrics-on-grail)**
>
> Get to know the equivalents of the classic built-in metrics supported on Grail.

---

<div class="post-metadata">

**Author:** ![MikeL](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MikeL](https://community.dynatrace.com/u/MikeL)\
**Post date:** [September 22, 2025, 7:44pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/5 "2025-09-22T19:44:05Z")

</div>

Thx, yes I have, just like the screenshot, if I keep typing… builtin:host… I get blank…  
Must be some permission somewhere?  
But seems that might be a non-starter anyways per your URL. thx for that.

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 23, 2025, 7:18am UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/6 "2025-09-23T07:18:13Z")

</div>

Hi, try use this:  
builtin:billing.full\_stack\_monitoring.usage\_per\_host:splitBy(“dt.entity.host”):sort(value(auto,descending)):limit(20)

and&nbsp;builtin:billing.infrastructure\_monitoring.usage\_per\_host:splitBy(“dt.entity.host”):sort(value(auto,descending)):limit(20)

You will have list of hosts.&nbsp;  
I don’t recall there being a metric in Data Explorer that lists only hosts by monitoring type. But you could create a custom metric, or use the API to pull the monitoring mode and push it into Dynatrace as a metric.

---

<div class="post-metadata">

**Author:** ![MikeL](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MikeL](https://community.dynatrace.com/u/MikeL)\
**Post date:** [September 23, 2025, 1:18pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/7 "2025-09-23T13:18:20Z")

</div>

thx Tomaxp,&nbsp;&nbsp;  
Not sure what the “Usage Billing” data gets interpreted as, but I can indeed see those metrics, see the screen grab, are you are hinting at the unit cost (Full Stack technically cost more to run), anything over 5 = Full Stack & anything \<2 = Infra Mode?&nbsp; if yes you might be onto something. 🙂

 ![DT Buitin Billing Full Stack view Final.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/4/4/4436a291c8c26cc718e036843198997adc20119c.jpeg)

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 23, 2025, 2:04pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/8 "2025-09-23T14:04:43Z")

</div>

That metric isn’t directly “host monitoring mode,” it’s the **billing usage per host**. What you see in the table is the **consumption value** for each host in each mode.  
So the metric gives you the **list of hosts and their usage values** , which you can then interpret as the monitoring mode.

If you want a single tile showing just the **count of hosts per mode** , you’d need to either:

- pull the host monitoring mode via the **Dynatrace API** , then push it back into Dynatrace as a metric for easy thresholding on a dashboard.

---

<div class="post-metadata">

**Author:** ![MikeL](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MikeL](https://community.dynatrace.com/u/MikeL)\
**Post date:** [September 23, 2025, 2:20pm UTC](https://community.dynatrace.com/t/monitoring-mode-count/53049/9 "2025-09-23T14:20:08Z")

</div>

Thx Tomaxp,&nbsp;  
I think we have something we can use now, thx for that info..  
Breaking it up in two (one for Count & one for the VM list, labeling what the Count ‘should’ be in the title, if those changes, it should be noticed.

To bad we can’t set to a # like 147, and anything higher or lower than that 147 count would trigger the threshold to change to Red (can’t change the \< or \> for the colors)…

But this is usable. much appreciated.

 ![DT Buitin Billing Full Stack view Final Dual views.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/5/5f5f82f6a2b528a51df0b8479487f84bde0707c0.jpeg)
