Skip to content

Commit 3de428b

Browse files
Update Botocore instrumentor for Logs/Events API args change
1 parent 9846ea3 commit 3de428b

File tree

1 file changed

+1
-3
lines changed
  • instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions

1 file changed

+1
-3
lines changed

instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions/bedrock.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,7 @@ def _converse_on_success(
506506
span_ctx = span.get_span_context()
507507
event_logger.emit(
508508
choice.to_choice_event(
509-
trace_id=span_ctx.trace_id,
510-
span_id=span_ctx.span_id,
511-
trace_flags=span_ctx.trace_flags,
509+
span_context=span_ctx,
512510
)
513511
)
514512

0 commit comments

Comments
 (0)