# JBoss Connection Pools Extension Count Custom Metrics and DDUs License

**URL:** <https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413>\
**Category:** Extensions\
**Tags:** jboss, dynatrace-managed, jmx, licensing\
**Created:** [May 10, 2021, 4:14am UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413 "2021-05-10T04:14:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AskMe-Solutions](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/askme-solutions/32/33154_2.png) [@AskMe-Solutions](https://community.dynatrace.com/u/AskMe-Solutions)\
**Post date:** [May 10, 2021, 4:14am UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413/1 "2021-05-10T04:14:48Z")

</div>

Hi All,

We would like to know how Dynatrace calculates custom metrics and DDUs License? Such as we have data-source more than 1 data source per 1 JVM because we read on Dynatrace document fund&nbsp;JBoss connection pools extension use 14 custom metrics and we don’t know how to Dynatrace&nbsp;calculates custom metrics if we have data-source more than 1 data-source per 1 JVM.

Regards,

Askme Solutions,

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [May 10, 2021, 6:39am UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413/2 "2021-05-10T06:39:56Z")

</div>

Hi [@AskMe-Solutions](https://community.dynatrace.com/user/30862)

I copy paste this link that will bring you directly on the table of the consumption per extension:

> **[DDUs for metrics](https://docs.dynatrace.com/docs/license/classic-licensing/davis-data-units/metric-cost-calculation)**
>
> Understand how to calculate Davis data unit consumption and costs related to monitored metrics.

The short version is this:

JBoss Connection Pools JMX Monitoring

Number of metric: 14  
DDU/min:0.014  
DDU/month: 613.2  
DDU/ year: 7,358.4

So you multiply the yearly consumption per number of datasource that you will monitor and you deduct the free tier of DDU given on each specific host, based on the host unit that you are consuming (and the type of installation of oneagent that you are going with full-stack or not)

This is the link to the overview DDU licensing :

> **[DDUs for metrics](https://docs.dynatrace.com/docs/license/classic-licensing/davis-data-units/metric-cost-calculation)**
>
> Understand how to calculate Davis data unit consumption and costs related to monitored metrics.

PS personal advice: be carefull, set up a limit of DDU in advance for you entire tenant and make it a job to observe how the consumption goes.

---

<div class="post-metadata">

**Author:** ![larry\_roberts](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/larry_roberts/32/7131_2.png) [@larry\_roberts](https://community.dynatrace.com/u/larry_roberts)\
**Post date:** [May 11, 2021, 6:47pm UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413/3 "2021-05-11T18:47:32Z")

</div>

Good advice. REALLY not liking this DDU thing at all.

---

<div class="post-metadata">

**Author:** ![AskMe-Solutions](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/askme-solutions/32/33154_2.png) [@AskMe-Solutions](https://community.dynatrace.com/u/AskMe-Solutions)\
**Post date:** [May 12, 2021, 4:28am UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413/4 "2021-05-12T04:28:21Z")

</div>

Hi [@y\_buccellato](https://community.dynatrace.com/user/4804)

If I have data-source a lot of run-ons one processes Dynatrace count 14 custom metrics per processes or Dynatrace count 14 custom metrics per 1 data-source.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [May 12, 2021, 7:52am UTC](https://community.dynatrace.com/t/jboss-connection-pools-extension-count-custom-metrics-and-ddus-license/31413/5 "2021-05-12T07:52:17Z")

</div>

Ei [@AskMe-Solutions](https://community.dynatrace.com/user/30862)

the answear from what I’ve seen from my environment is: it is counted my datasource.

Another example would be you have 3 host, each host has 3 jboss (JVM), each jboss has 20 data source configured, each data source has 14 metric you would have: 3x3x20x14 metrics

Can some hardcore Dynatracer confirm? 🙂
