How to monitor funtions within an application runnign on pods

how to monitor funtions within an application runnign on pods