Use is_recording flag in jinja, celery, esearch, falcon instrumentations (#1241)
This commit is contained in:
parent
63426e2862
commit
efe918b118
|
|
@ -118,6 +118,7 @@ def _wrap_cmd(tracer, cmd, wrapped, instance, args, kwargs):
|
|||
_CMD, kind=SpanKind.INTERNAL, attributes={}
|
||||
) as span:
|
||||
try:
|
||||
if span.is_recording():
|
||||
if not args:
|
||||
vals = ""
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue