# Workloads age

**URL:** <https://community.dynatrace.com/t/workloads-age/49870>\
**Category:** Dashboarding\
**Tags:** data-explorer, dashboards-classic, kubernetes\
**Created:** [January 22, 2025, 2:34pm UTC](https://community.dynatrace.com/t/workloads-age/49870 "2025-01-22T14:34:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 22, 2025, 2:34pm UTC](https://community.dynatrace.com/t/workloads-age/49870/1 "2025-01-22T14:34:32Z")

</div>

Hi Community,

I’m trying to add new information to a workload tile. (see the screenshot below)

 ![gbaudart_0-1737556373491.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/ca37f0ed9c08378aca7d00c7b906572f55491f6b.png)

I want to add the ‘age’ information of my workloads.

 ![gbaudart_1-1737556403344.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/f/5fc722b4da281169e3ccf8f9c188b43c626c4ab6.png)

I don’t know how to have this information in the Data Explorer.

Does anyone know how to do this?

FYI, it’s a Dynatrace Managed, so we don’t have the Grail 😞

---

<div class="post-metadata">

**Author:** ![KeeganNelson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/keegannelson/32/20333_2.png) [@KeeganNelson](https://community.dynatrace.com/u/KeeganNelson)\
**Post date:** [January 22, 2025, 8:59pm UTC](https://community.dynatrace.com/t/workloads-age/49870/2 "2025-01-22T20:59:41Z")

</div>

After looking around it turns out that the “Age” is not a metric. It is instead calculated based on the property of the entity queried from the entities API. When you GET the entity from the API there will be a “resourceCreationTimestamp” variable associated.

![KeeganNelson_0-1737579531666.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a2788e34d6aa04c0cbeccf7ceb4bd14669c7af10.png)

---

<div class="post-metadata">

**Author:** ![KeeganNelson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/keegannelson/32/20333_2.png) [@KeeganNelson](https://community.dynatrace.com/u/KeeganNelson)\
**Post date:** [January 22, 2025, 10:19pm UTC](https://community.dynatrace.com/t/workloads-age/49870/3 "2025-01-22T22:19:12Z")

</div>

If you had access to DQL then a workaround would be using the&nbsp;“resourceCreationTimestamp” to calculate the age variable. Using the&nbsp;“resourceCreationTimestamp” as the start time and then the now() which will get the end time. Ultimately being left with age = end - start which would be stored as a Dashboard variable.

Also wanted to link this post that seems to be related.

- [https://community.dynatrace.com/t5/Container-platforms/how-to-calculate-pod-uptime/m-p/223321](https://community.dynatrace.com/post/223321)
