# What is the correct dimension for an EF2 "Instance"?

**URL:** <https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [August 31, 2023, 1:56pm UTC](https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460 "2023-08-31T13:56:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gchastne](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gchastne/32/37007_2.png) [@gchastne](https://community.dynatrace.com/u/gchastne)\
**Post date:** [August 31, 2023, 1:56pm UTC](https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460/1 "2023-08-31T13:56:53Z")

</div>

In&nbsp;[Extensions 2.0 concepts | Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/extensions-concepts#resource-consumption)&nbsp;is defines a set of limits “per Instance”. Furthermore, it defines an “Instance” as “ **Per instance** &nbsp;shows the consumption volume for one data source in OneAgent and ActiveGate.” - unfortunately, it doesn’t define “data source”…

I think that the correct metric for the memory limit is dsfm:extension.engine.“memory\_used” which can be split several ways including:

- dt.extension.ds
- dt.extension.config.id

I struggled to find any documentation for either of these dimensions, but suspect that “Instance” relates to “dt.extension.config.id”? Does that make sense?

---

<div class="post-metadata">

**Author:** ![MateuszKacprzak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mateuszkacprzak/32/5197_2.png) [@MateuszKacprzak](https://community.dynatrace.com/u/MateuszKacprzak)\
**Post date:** [September 8, 2023, 10:04am UTC](https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460/2 "2023-09-08T10:04:55Z")

</div>

Hello,

In general, an instance means a configuration. For example, having one configuration added in the extension, one datasource instance is created. In addition, if a configuration has a very large number of endpoints added, then more instances are created. This is because the configuration is divided into smaller parts to not overhelm one process. In this case the config id does not change and all instances have the same config id.

Best Regards,

Mateusz

---

<div class="post-metadata">

**Author:** ![gchastne](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gchastne/32/37007_2.png) [@gchastne](https://community.dynatrace.com/u/gchastne)\
**Post date:** [September 8, 2023, 10:09am UTC](https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460/3 "2023-09-08T10:09:01Z")

</div>

Thanks Mateusz - that all makes sense.

Any chance we could get the documentation to say something similar?

---

<div class="post-metadata">

**Author:** ![MateuszKacprzak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mateuszkacprzak/32/5197_2.png) [@MateuszKacprzak](https://community.dynatrace.com/u/MateuszKacprzak)\
**Post date:** [September 8, 2023, 10:29am UTC](https://community.dynatrace.com/t/what-is-the-correct-dimension-for-an-ef2-instance/41460/4 "2023-09-08T10:29:37Z")

</div>

I will reach out to the team to document it. Thanks for the feedback!
