Skip to content

Commit 0144715

Browse files
committed
Add comment about security guards
1 parent d2eb862 commit 0144715

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto

1 file changed

+1
-0
lines changed

instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ def truncate_arg_value(value, max_len=1024):
235235
if not span.is_recording():
236236
return
237237

238+
# Do not trace `Key Management Service` or `Secure Token Service` API calls.
238239
if aws_service not in {"kms", "sts"}:
239240
tags = dict(
240241
(name, value)

0 commit comments

Comments
 (0)