Skip to content

Commit 66eab83

Browse files
P403n1x87jdmergify[bot]Julien DanjouKyle-Verhoog
authored
fix(botocore): exclude params.Records from tags (#2204)
* fix(botocore): exclude params.Records from tags The params.Records argument could be big and therefore generate big trace payloads when added to the span tags. This change marks this argument for exclusion. * Update releasenotes/notes/botocore-exclude-records--74ac3e5d4d4fdc95.yaml Co-authored-by: Julien Danjou <[email protected]> Co-authored-by: Julien Danjou <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Julien Danjou <[email protected]> Co-authored-by: Kyle Verhoog <[email protected]>
1 parent 949c4a0 commit 66eab83

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ddtrace/ext/aws.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
EXCLUDED_ENDPOINT = {"kms", "sts"}
1414
EXCLUDED_ENDPOINT_TAGS = {
1515
"s3": {"params.Body"},
16+
"firehose": {"params.Records"},
1617
}
1718

1819

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ entrypoint
3838
entrypoints
3939
Fargate
4040
fastapi
41+
Firehose
4142
gRPC
4243
gevent
4344
greenlet
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
The ``Records`` parameter to ``Firehose`` endpoint calls is being excluded from the
5+
tags to avoid generating traces with a large payload.

0 commit comments

Comments
 (0)