From 014471563ea22fdb92bfbb91a7b3da4b00b5b910 Mon Sep 17 00:00:00 2001 From: Nathaniel Ruiz Nowell Date: Mon, 16 Nov 2020 11:21:47 -0800 Subject: [PATCH] Add comment about security guards --- .../src/opentelemetry/instrumentation/boto/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/__init__.py b/instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/__init__.py index db9104587e..5360744069 100644 --- a/instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-boto/src/opentelemetry/instrumentation/boto/__init__.py @@ -235,6 +235,7 @@ def truncate_arg_value(value, max_len=1024): if not span.is_recording(): return + # Do not trace `Key Management Service` or `Secure Token Service` API calls. if aws_service not in {"kms", "sts"}: tags = dict( (name, value)