Skip to content

Commit 1f8bd4f

Browse files
authored
feat: Use dd-trace-py 0.58.1 (#206)
* feat: Use dd-trace-py 0.58.1 * feat: Update integration test snapshots * feat: Specify serverless 2.72.0 for integration tests * feat: use locally specified version of serverless framework instead of installing globally * fix: yarn install * feat: Back to 2.72.2 for specs * feat: Switch to datadoghq.com
1 parent 4baaa47 commit 1f8bd4f

11 files changed

+254
-258
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
python = ">=3.6.0,<4"
2727
datadog = "^0.41.0"
2828
wrapt = "^1.11.2"
29-
ddtrace = "^0.55.4"
29+
ddtrace = "^0.58.1"
3030
importlib_metadata = {version = "^1.0", python = "<3.8"}
3131
boto3 = { version = "^1.10.33", optional = true }
3232
typing_extensions = {version = "^4.0", python = "<3.8"}

scripts/run_integration_tests.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ function remove_stack() {
8888

8989

9090
trap remove_stack EXIT
91-
9291
for parameters_set in "${PARAMETERS_SETS[@]}"; do
93-
9492
serverless_runtime=$parameters_set[0]
9593
python_version=$parameters_set[1]
9694
run_id=$parameters_set[2]
@@ -104,7 +102,6 @@ python version : ${!python_version} and run id : ${!run_id}"
104102
echo "Invoking functions for runtime $parameters_set"
105103
set +e # Don't exit this script if an invocation fails or there's a diff
106104
for handler_name in "${LAMBDA_HANDLERS[@]}"; do
107-
108105
function_name="${handler_name}_python"
109106
echo "$function_name"
110107
# Invoke function once for each input event

tests/integration/handle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def handle(event, context):
2626
)
2727

2828
# Make HTTP calls to test ddtrace instrumentation
29-
requests.get("https://httpstat.us/200/")
30-
requests.get("https://httpstat.us/400/")
29+
requests.get("https://datadoghq.com")
3130

3231
return {
3332
"statusCode": 200,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)