Skip to content

Commit 4639bd4

Browse files
committed
add in_subsegment_async in dd
1 parent ed1059b commit 4639bd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aws_lambda_powertools/tracing/provider/datadog/dd_tracer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ async def trace_async(
6868
) as dd_span:
6969
yield DDSpan(dd_span=dd_span)
7070

71+
in_subsegment_async = trace_async
72+
7173
def set_attribute(self, key: str | bytes, value: Any, **kwargs: Any) -> None:
7274
span = self.dd_tracer.context_provider.active()
7375
# ignore if no active span

0 commit comments

Comments
 (0)