SQL 2008 and up has sys.dm_exec_procedure_stats
As of 2016, we now have sys.dm_exec_function_stats
My question - is there a way to achieve what's in sys.dm_exec_function_stats in a pre-2016 SQL? Is there another way to skin this cat?
I need to add a panel to splunk, but not all of my servers are 2016. Most are not and there's nothing I can do about that.