# Operation on metric obtained in EF2 extensions

**URL:** <https://community.dynatrace.com/t/operation-on-metric-obtained-in-ef2-extensions/44824>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [March 23, 2024, 6:09pm UTC](https://community.dynatrace.com/t/operation-on-metric-obtained-in-ef2-extensions/44824 "2024-03-23T18:09:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 23, 2024, 6:09pm UTC](https://community.dynatrace.com/t/operation-on-metric-obtained-in-ef2-extensions/44824/1 "2024-03-23T18:09:49Z")

</div>

In EF2, typically I have seen that when there is a need to convert the value of a metric, it is done with a “key: func” definition.

Is it safe to do the calculation with the metric. And if so, how is it done, as I have found no example?

---

_[View the full topic](https://community.dynatrace.com/t/operation-on-metric-obtained-in-ef2-extensions/44824)._
