Hi
I can see the age column related to pods under kubernetes overview of the node
how can i use it to display in dashboard panel to show the uptime of the pods
Hello,
In order to get that information dashboarded you would have to be able to get a metric to display in data explorer. Please try looking through the kubernetes built in metrics found here, https://www.dynatrace.com/support/help/shortlink/all-metrics#kubernetes.
If there is not a metric for "pod uptime" it may have to be a custom metric, or you can post this in the Ideas channel for suggesting the creation of such a metric.
i think that if you use builtin:host.uptime maybe works, but i dont know for sure.
You can try create metrics to do this. anyway take a look of this documentation page
Feel free to ask if you got any doubts
Hi @VENKY1544,
AFAIK there is not an OOTB solution. Maybe you can play with Environment APIv2 Monitored entities:
GET / entities provide a list of entities with fist seen and last seen attribute, you can filter only for pods by type("CLOUD_APPLICATION_INSTANCE")
or
GET / entities / {entityId} but in this case you should know the individual entity ids.
I hope it helps to start thinking.
Best regards,
Mizső
Featured Posts