cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Workloads age

gbaudart
DynaMight Champion
DynaMight Champion

Hi Community,


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

gbaudart_0-1737556373491.png

I want to add the 'age' information of my workloads.

gbaudart_1-1737556403344.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 😞

Dynatrace Partner - Professional Certified - DynaMight
2 REPLIES 2

KeeganNelson
Dynatrace Participant
Dynatrace Participant

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

 

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. 

Featured Posts