Skip to content

Commit 7334375

Browse files
authored
feat(breaking): ddtrace 2.3 (#394)
* feat(breaking): ddtrace 2.3 * feat: Fix ints
1 parent 23ff7fc commit 7334375

13 files changed

+720
-489
lines changed

poetry.lock

Lines changed: 262 additions & 259 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
python = ">=3.7.0,<4"
2828
datadog = ">=0.41.0,<1.0.0"
2929
wrapt = "^1.11.2"
30-
ddtrace = "<2.0.0"
30+
ddtrace = ">=2.3.0"
3131
urllib3 = [
3232
{version = "<2.0.0", python = "<3.11", optional = true},
3333
{version = "<2.1.0", python = ">=3.11", optional = true},

scripts/run_integration_tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ for handler_name in "${LAMBDA_HANDLERS[@]}"; do
236236
sed -E "s/(\"object_etag\"\:\ \")[a-zA-Z0-9\-]+/\1XXXX/g" |
237237
sed -E "s/(\"dd_trace\"\: \")([0-9]+\.[0-9]+\.[0-9]+)/\1X.X.X/g" |
238238
sed -E "s/(traceparent\:)([A-Za-z0-9\-]+)/\1XXX/g" |
239+
sed -E "s/(tracestate\:)([A-Za-z0-9\-\=\:\;].+)/\1XXX/g" |
240+
sed -E "s/(\"_dd.p.tid\"\: \")[a-z0-9\.\-]+/\1XXXX/g" |
241+
sed -E "s/(_dd.p.tid=)[a-z0-9\.\-]+/\1XXXX/g" |
239242
# Parse out account ID in ARN
240243
sed -E "s/([a-zA-Z0-9]+):([a-zA-Z0-9]+):([a-zA-Z0-9]+):([a-zA-Z0-9\-]+):([a-zA-Z0-9\-\:]+)/\1:\2:\3:\4:XXXX:\4/g" |
241244
sed -E "/init complete at epoch/d" |

tests/integration/snapshots/logs/async-metrics_python310.log

Lines changed: 36 additions & 18 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/async-metrics_python311.log

Lines changed: 36 additions & 18 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/async-metrics_python37.log

Lines changed: 36 additions & 18 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/async-metrics_python38.log

Lines changed: 37 additions & 19 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/async-metrics_python39.log

Lines changed: 36 additions & 18 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/sync-metrics_python310.log

Lines changed: 54 additions & 27 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/sync-metrics_python311.log

Lines changed: 54 additions & 27 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/sync-metrics_python37.log

Lines changed: 55 additions & 28 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/sync-metrics_python38.log

Lines changed: 55 additions & 28 deletions
Large diffs are not rendered by default.

tests/integration/snapshots/logs/sync-metrics_python39.log

Lines changed: 55 additions & 28 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)