Skip to content

Commit ad45b3b

Browse files
committed
fix(python): update profile expectations
1 parent 2b5dc77 commit ad45b3b

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

base_images/Dockerfile.python-3.12

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ RUN if [ -n "$DDTRACE_INSTALL_URL" ]; then \
99

1010
ENV DD_PROFILING_ENABLED=true
1111
ENV DD_TRACE_ENABLED=false
12+
ENV DD_CODE_ORIGIN_FOR_SPANS_ENABLED=false
13+
ENV DD_REMOTE_CONFIGURATION_ENABLED=false
1214
# ENV DD_TRACE_DEBUG=true
1315
ENV DD_PROFILING_OUTPUT_PPROF="/app/data/profiles"

scenarios/python_basic_gevent/expected_profile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"pprof-regex": "",
99
"stack-content": [
1010
{
11-
"regular_expression": "^Hub\\.run;loop\\.run$",
11+
"regular_expression": "^Hub\\.run;gevent\\.libev\\.corecext\\.loop\\.run$",
1212
"value": 2000000000,
1313
"error_margin": 25,
1414
"labels": [

scenarios/python_basic_idle_3.12/expected_profile.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"pprof-regex": "",
88
"stack-content": [
99
{
10-
"regular_expression": "^\u003cmodule\u003e;target;sleep$",
10+
"regular_expression": "^\u003cmodule\u003e;target;time\\.sleep$",
1111
"value": 1000000000,
1212
"error_margin": 15,
1313
"labels": [
@@ -21,7 +21,7 @@
2121
]
2222
},
2323
{
24-
"regular_expression": ".*run;target;sleep$",
24+
"regular_expression": ".*run;target;time\\.sleep$",
2525
"value": 500000000,
2626
"error_margin": 15,
2727
"labels": [

0 commit comments

Comments
 (0)