monitored
monitored copied to clipboard
Report Null/Zero Value Result of Monitored Callable
We have a need to collect and report metrics of Null/Zero results of functions (for example if a document wasn't found in DB).
It's suggested to add a metric for this type of scenario.
Currently, we're wrapping our monitored functions, raising a metric for zero values. This logic makes exception handling more complicated.