According to this document https://community.dynatrace.com/t5/Best-practices/Migrating-from-Docker-only-to-generic-container-me... builtin:containers.no_of_containers_terminated metric is being depricated. Indeed it's stopped working recently. Hope it's replaces by something. This is important metric as failures frequently correlates with containers restarts.
What is new way to gather this info please?
P.S. Containers are hosted in kubernetes
the "Docker log analytics" feature may be interesting - it allows to access logfiles even if a container has been stopped.
Application running inside docker needs to implement the standard json-file logging driver. refer below link: