22 Jan 2025 02:34 PM
Hi Community,
I'm trying to add new information to a workload tile. (see the screenshot below)
I want to add the 'age' information of my workloads.
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 😞
22 Jan 2025 08:59 PM
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.
22 Jan 2025 10:19 PM
If you had access to DQL then a workaround would be using the "resourceCreationTimestamp" to calculate the age variable. Using the "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.