Skip to content

Commit 35c1f5e

Browse files
chore: update supported configurations
1 parent 8457280 commit 35c1f5e

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

ddtrace/internal/settings/_supported_configurations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@
375375
"DD_PROFILING_OUTPUT_PPROF",
376376
"DD_PROFILING_PYTORCH_ENABLED",
377377
"DD_PROFILING_PYTORCH_EVENTS_LIMIT",
378+
"DD_PROFILING_PYTORCH_MAX_FRAMES",
378379
"DD_PROFILING_SAMPLE_POOL_CAPACITY",
379380
"DD_PROFILING_SAMPLE_SIZE",
380381
"DD_PROFILING_SAMPLING_INTERVAL",

supported-configurations.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2836,6 +2836,13 @@
28362836
"default": "1000000"
28372837
}
28382838
],
2839+
"DD_PROFILING_PYTORCH_MAX_FRAMES": [
2840+
{
2841+
"implementation": "A",
2842+
"type": "int",
2843+
"default": "128"
2844+
}
2845+
],
28392846
"DD_PROFILING_SAMPLE_POOL_CAPACITY": [
28402847
{
28412848
"implementation": "A",

tests/telemetry/test_writer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ def test_app_started_event_configuration_override(test_agent_session, run_python
348348
{"name": "DD_PROFILING_OUTPUT_PPROF", "origin": "default", "value": None},
349349
{"name": "DD_PROFILING_PYTORCH_ENABLED", "origin": "default", "value": False},
350350
{"name": "DD_PROFILING_PYTORCH_EVENTS_LIMIT", "origin": "default", "value": 1000000},
351+
{"name": "DD_PROFILING_PYTORCH_MAX_FRAMES", "origin": "default", "value": 128},
351352
{"name": "DD_PROFILING_SAMPLE_POOL_CAPACITY", "origin": "default", "value": 4},
352353
{"name": "DD_PROFILING_STACK_ENABLED", "origin": "env_var", "value": False},
353354
{"name": "DD_PROFILING_STACK_NATIVE_FRAMES", "origin": "default", "value": True},

0 commit comments

Comments
 (0)