add OTel utility function Signed-off-by: gruebel <anton.gruebel@gmail.com> Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>