Skip to content

Commit 467e513

Browse files
committed
Add comment about security guards
1 parent 457634f commit 467e513

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ 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
239+
# over concerns of security leaks.
238240
if aws_service not in {"kms", "sts"}:
239241
tags = dict(
240242
(name, value)

0 commit comments

Comments
 (0)