Fix empty 'args' and 'kwargs' when using 'hide_args' with Jaeger
Fix empty 'args' and 'kwargs' when using 'hide_args' with Jaeger

When 'hide_args=True' is used in @profiler.trace() decorator
along with Jaeger driver, trace 'args' and 'kwargs' function
parameters are empty, which leads to a key error.

This change introduces a key check before adding those parameters to
tags.

Change-Id: I312da1b175a04d4ddee7f823111b8320dd4777d6

stackforge/osprofiler,stackforge/osprofiler,openstack/osprofiler,openstack/osprofiler,openstack/osprofiler,stackforge/osprofiler