Skip to content

Commit 2943890

Browse files
bouwkastjoeyzhao2018
authored andcommitted
Correctly parse env variable as it can't be a set
1 parent 1247ac2 commit 2943890

File tree

1 file changed

+4
-1
lines changed
  • ddtrace/contrib/internal/botocore

1 file changed

+4
-1
lines changed

ddtrace/contrib/internal/botocore/patch.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ def _load_dynamodb_primary_key_names_for_tables() -> Dict[str, Set[str]]:
113113
os.getenv("DD_TRACE_CLOUD_PAYLOAD_TAGGING_MAX_TAGS", 758)
114114
), # RFC defined default limit - spans are limited past 1000
115115
"payload_tagging_services": set(
116-
os.getenv("DD_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES", default={"s3", "sns", "sqs", "kinesis", "eventbridge"})
116+
service.strip()
117+
for service in os.getenv("DD_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES", "s3,sns,sqs,kinesis,eventbridge").split(
118+
","
119+
)
117120
),
118121
},
119122
)

0 commit comments

Comments
 (0)