Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
3128327
chore: remove cassandra integration (#14936)
emmettbutler Oct 17, 2025
ef527c1
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 20, 2025
81dda72
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 21, 2025
acd4f8e
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 21, 2025
b2cee41
update system tests
emmettbutler Oct 21, 2025
8a69548
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 22, 2025
4859012
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 22, 2025
3d713e1
chore(mongoengine): remove integration (#14173)
mabdinur Oct 22, 2025
c68dcb4
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 23, 2025
1e1dda5
chore: remove opentracer package (#14892)
emmettbutler Oct 24, 2025
1122246
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 24, 2025
7db8c63
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 24, 2025
c42943f
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 24, 2025
c47f4d5
chore: remove deprecated Span function parameters (#14894)
emmettbutler Oct 24, 2025
eb90319
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 27, 2025
a4c87f5
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 28, 2025
22c88f9
feat: remove Python 3.8 support, deprecate Python 3.9 support (#14891)
emmettbutler Oct 28, 2025
76a60f4
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 28, 2025
26b1956
chore: remove freezegun integration (#14893)
emmettbutler Oct 28, 2025
4c999e0
chore: remove deprecated telemetry interval environment variable (#14…
emmettbutler Oct 28, 2025
fe3b228
chore(tracing): remove deprecated app analytics functionality (#14899)
emmettbutler Oct 28, 2025
8e78ee4
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 29, 2025
8e1d196
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 29, 2025
91b50f9
lockfiles
emmettbutler Oct 30, 2025
1ccb683
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Oct 30, 2025
e28c527
chore: internalize ddtrace.settings (#14895)
emmettbutler Oct 30, 2025
db6eb98
chore: remove deprecated ddtrace.trace.Pin and Tracer method (#14896)
emmettbutler Oct 30, 2025
2821027
update system-tests
emmettbutler Oct 31, 2025
108c8fc
chore(llmobs): remove tiktoken dependency (#14805)
Yun-Kim Oct 31, 2025
6b06d3e
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 3, 2025
f222780
update system-tests
emmettbutler Nov 3, 2025
6377bc1
update import
emmettbutler Nov 3, 2025
c723171
update import
emmettbutler Nov 3, 2025
9fe33ac
update system-tests
emmettbutler Nov 3, 2025
094bc75
chore(llmobs): remove submit_evaluation_for method (#15045)
ncybul Nov 3, 2025
9045c58
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 4, 2025
67dabfd
chore(llmobs): remove google_generativeai integration (#14820)
Yun-Kim Nov 4, 2025
cb53a8a
chore(tracing): remove deprecated Span methods (#15039)
brettlangdon Nov 4, 2025
8bc45c5
chore: remove deprecated non_active_span argument (#14898)
emmettbutler Nov 4, 2025
bcc1f0c
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 5, 2025
824bf62
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 5, 2025
52290f8
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 5, 2025
4f39174
update locks
emmettbutler Nov 5, 2025
3e9c7df
feat(profiling): dont enable v1 profiler (#15108)
taegyunkim Nov 5, 2025
c8f48e7
chore(di): remove deprecated variable (#15061)
P403n1x87 Nov 5, 2025
1f48e2c
chore(tracing): move meta/metrics type checking to the encoder (#14982)
brettlangdon Nov 6, 2025
43226f9
chore(ci_visibility): remove pytest_bdd and pytest_benchmark entry po…
vitor-de-araujo Nov 7, 2025
04a5ed8
chore(tracing): simplify Span tag/metric API typing (#14943)
brettlangdon Nov 7, 2025
2a565be
chore(profiling): remove deprecated env var, `DD_PROFILING_API_TIMEOU…
taegyunkim Nov 7, 2025
067216b
chore(tests): update system tests (#15144)
VianneyRuhlmann Nov 6, 2025
6957976
chore: update and pin library dependencies (#15040)
brettlangdon Nov 6, 2025
35da428
fix: modify error tracking exceptions (#15148)
quinna-h Nov 6, 2025
32bb3ff
fix(llmobs): support HTTPS_PROXY setting (#15130)
Kyle-Verhoog Nov 6, 2025
0db2b00
chore: remove legacy-cgi dependency (#15161)
brettlangdon Nov 7, 2025
890b7b8
feat(aap): blocking id (#15042)
christophe-papazian Nov 7, 2025
18b79e8
fix(profiling): track running asyncio loop if it exists (#15120)
KowalskiThomas Nov 7, 2025
ecc2de8
chore(iast): fix iast multiprocess issues and add mcp streaming tests…
avara1986 Nov 7, 2025
ca86f21
ci: use pre-built wheels in serverless benchmarks (#15164)
brettlangdon Nov 7, 2025
a5b7b16
update locks and systests
emmettbutler Nov 7, 2025
84be1bc
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 7, 2025
433c748
merge oopsie
emmettbutler Nov 7, 2025
bd62d4c
update settings
taegyunkim Nov 7, 2025
15c3605
update django overhead workflow
taegyunkim Nov 7, 2025
d04cca0
dead code elimination
taegyunkim Nov 7, 2025
846730b
chore(er): remove deprecated variable (#15060)
P403n1x87 Nov 7, 2025
efc35d3
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 7, 2025
75ea88d
remove code checking not is_stack_v2
taegyunkim Nov 7, 2025
df4de06
remove unneeded fields
taegyunkim Nov 7, 2025
dc7a931
update v2_enabled to enabled
taegyunkim Nov 7, 2025
97a39c6
moar deadcode
taegyunkim Nov 7, 2025
8856b30
Merge branch '4.0-breaking-changes' into taegyunkim/remove-stack-v1
taegyunkim Nov 7, 2025
757c83f
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 7, 2025
f305836
remove dead code
taegyunkim Nov 7, 2025
5a27270
remove irrelevant tests
taegyunkim Nov 7, 2025
a4b42e9
fix failing tests
emmettbutler Nov 7, 2025
587d6d6
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 10, 2025
4e5fa6b
locks
emmettbutler Nov 10, 2025
8c5ad97
Merge branch '4.0-breaking-changes' into taegyunkim/remove-stack-v1
taegyunkim Nov 10, 2025
a4e2b2a
remove duplicate test test_collect_truncate
taegyunkim Nov 10, 2025
c937b6e
remove duplicate test test_collect_gevent_threads
taegyunkim Nov 10, 2025
98d38a4
move test over test_collect_gevent_threads
taegyunkim Nov 10, 2025
71dbd6d
remove tests that are no longer relevant
taegyunkim Nov 10, 2025
fee8385
move test_stack.py to profile-v2
taegyunkim Nov 10, 2025
aa49913
chore: update file paths in codeowners (#15170)
taegyunkim Nov 10, 2025
ebe9f3b
fix tests
taegyunkim Nov 10, 2025
7676961
delete duplicate tests and move tests to profile-v2
taegyunkim Nov 10, 2025
619b77b
fix imports
taegyunkim Nov 10, 2025
7c9c8b1
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 10, 2025
61a6812
merge into profiling_v2 tests
taegyunkim Nov 10, 2025
555a1e6
remove profile v1 tests
taegyunkim Nov 10, 2025
f031ebd
rename to profiling from profiling_v2
taegyunkim Nov 10, 2025
9d2c462
Merge branch '4.0-breaking-changes' into taegyunkim/remove-stack-v1
taegyunkim Nov 10, 2025
e9b01ed
add back suitespec.yml
taegyunkim Nov 10, 2025
a83f63e
update suitespec to run for all matching profile
taegyunkim Nov 10, 2025
631d617
update to 27
taegyunkim Nov 10, 2025
5686995
update riot hashes
taegyunkim Nov 10, 2025
fa1456c
fix file paths
taegyunkim Nov 10, 2025
6b24b35
remove profile-diff
taegyunkim Nov 10, 2025
dd7cdb4
remove profile-diff venv
taegyunkim Nov 10, 2025
277a9e4
update parallelism
taegyunkim Nov 10, 2025
e9ff22c
update test
taegyunkim Nov 10, 2025
c01f398
remove extra bg thread from stackcollector
taegyunkim Nov 10, 2025
636e6df
un-cythonize stack.pyx
taegyunkim Nov 10, 2025
c7ea3c9
this test is no longer relevant as collect() does nothing
taegyunkim Nov 10, 2025
5a58fb3
format
taegyunkim Nov 10, 2025
acd3615
format
taegyunkim Nov 10, 2025
c412a40
format
taegyunkim Nov 10, 2025
57675ab
Merge branch 'main' into 4.0-breaking-changes
emmettbutler Nov 11, 2025
acace3d
remove deprecation
emmettbutler Nov 11, 2025
47c2931
remove deprecation
emmettbutler Nov 11, 2025
1c95d17
chore(tracing): remove Span.finished setter and Span.finish_with_ance…
brettlangdon Nov 11, 2025
06b2266
Merge branch '4.0-breaking-changes' into taegyunkim/remove-stack-v1
taegyunkim Nov 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 7 additions & 8 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ddtrace/internal/_file_queue.py @DataDog/python-guild
ddtrace/internal/_unpatched.py @DataDog/python-guild
ddtrace/internal/compat.py @DataDog/python-guild @DataDog/apm-core-python
ddtrace/internal/endpoints.py @DataDog/python-guild @DataDog/asm-python
ddtrace/settings/config.py @DataDog/python-guild @DataDog/apm-sdk-capabilities-python
ddtrace/internal/settings/_config.py @DataDog/python-guild @DataDog/apm-sdk-capabilities-python
docs/ @DataDog/python-guild
tests/utils.py @DataDog/python-guild
tests/suitespec.yml @DataDog/python-guild @DataDog/apm-core-python
Expand Down Expand Up @@ -95,7 +95,7 @@ tests/snapshots/test_selenium_* @DataDog/ci-app-libraries

# Debugger
ddtrace/debugging/ @DataDog/debugger-python
ddtrace/settings/dynamic_instrumentation.py @DataDog/debugger-python
ddtrace/internal/settings/dynamic_instrumentation.py @DataDog/debugger-python
ddtrace/internal/injection.py @DataDog/debugger-python @DataDog/apm-core-python
ddtrace/internal/wrapping.py @DataDog/debugger-python @DataDog/apm-core-python
ddtrace/internal/module.py @DataDog/debugger-python @DataDog/apm-core-python
Expand All @@ -114,7 +114,7 @@ benchmarks/bm/iast_utils* @DataDog/asm-python
benchmarks/bm/iast_fixtures* @DataDog/asm-python
benchmarks/base/aspects_benchmarks_generate.py @DataDog/asm-python
ddtrace/appsec/ @DataDog/asm-python
ddtrace/settings/asm.py @DataDog/asm-python
ddtrace/internal/settings/asm.py @DataDog/asm-python
ddtrace/contrib/internal/subprocess/ @DataDog/asm-python
ddtrace/contrib/internal/flask_login/ @DataDog/asm-python
ddtrace/contrib/internal/webbrowser @DataDog/asm-python
Expand All @@ -131,10 +131,9 @@ scripts/iast/* @DataDog/asm-python

# Profiling
ddtrace/profiling @DataDog/profiling-python
ddtrace/settings/profiling.py @DataDog/profiling-python
ddtrace/internal/settings/profiling.py @DataDog/profiling-python
ddtrace/internal/datadog/profiling @DataDog/profiling-python
tests/profiling @DataDog/profiling-python
tests/profiling_v2 @DataDog/profiling-python
tests/profiling @DataDog/profiling-python
.gitlab/tests/profiling.yml @DataDog/profiling-python

# MLObs
Expand Down Expand Up @@ -207,15 +206,15 @@ ddtrace/opentracer/ @DataDog/apm-sdk-capabilities
ddtrace/propagation/ @DataDog/apm-sdk-capabilities-python
ddtrace/openfeature/ @DataDog/asm-python @DataDog/apm-core-python
tests/openfeature/ @DataDog/asm-python @DataDog/apm-core-python
ddtrace/settings/_opentelemetry.py @DataDog/apm-sdk-capabilities-python
ddtrace/internal/settings/_opentelemetry.py @DataDog/apm-sdk-capabilities-python

ddtrace/internal/sampling.py @DataDog/apm-sdk-capabilities-python
ddtrace/internal/tracemethods.py @DataDog/apm-sdk-capabilities-python
ddtrace/internal/metrics.py @DataDog/apm-sdk-capabilities-python
ddtrace/internal/rate_limiter.py @DataDog/apm-sdk-capabilities-python
ddtrace/runtime/ @DataDog/apm-sdk-capabilities-python
ddtrace/internal/runtime/ @DataDog/apm-sdk-capabilities-python
ddtrace/settings/_otel_remapper.py @DataDog/apm-sdk-capabilities-python
ddtrace/internal/settings/_otel_remapper.py @DataDog/apm-sdk-capabilities-python
tests/integration/test_priority_sampling.py @DataDog/apm-sdk-capabilities-python
tests/integration/test_propagation.py @DataDog/apm-sdk-capabilities-python
tests/runtime/ @DataDog/apm-sdk-capabilities-python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
needs: [ "compute_version" ]
uses: ./.github/workflows/build_python_3.yml
with:
cibw_build: 'cp38* cp39* cp310* cp311* cp312* cp313* cp314*'
cibw_skip: 'cp38-win_arm64 cp39-win_arm64 cp310-win_arm64 cp314t*'
cibw_build: 'cp39* cp310* cp311* cp312* cp313* cp314*'
cibw_skip: 'cp39-win_arm64 cp310-win_arm64 cp314t*'
library_version: ${{ needs.compute_version.outputs.library_version }}

build_sdist:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/django-overhead-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,10 @@ on:
jobs:
django-overhead-profile:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- suffix: "-v1"
stack_v2: "0"
- suffix: "-v2"
stack_v2: "1"
env:
PREFIX: ${{ github.workspace }}/prefix
DD_CODE_ORIGIN_FOR_SPANS_ENABLED: "1"
DD_PROFILING_ENABLED: "1"
DD_PROFILING_STACK_V2_ENABLED: ${{ matrix.stack_v2 }}
DD_PROFILING_OUTPUT_PPROF: ${{ github.workspace }}/prefix/artifacts/ddtrace_profile
DD_EXCEPTION_REPLAY_ENABLED: "1"
defaults:
Expand All @@ -50,5 +42,5 @@ jobs:

- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: django-overhead-profile${{ matrix.suffix }}
name: django-overhead-profile
path: ${{ github.workspace }}/prefix/artifacts
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Keep this in sync with hatch.toml
python-version: ["3.8", "3.10", "3.12", "3.14"]
python-version: ["3.10", "3.12", "3.14"]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ experiments:
- max_rss_usage < 675.00 MB
- name: otelspan-add-tags
thresholds:
- execution_time < 314.00 ms
- execution_time < 344.80 ms
- max_rss_usage < 675.00 MB
- name: otelspan-get-context
thresholds:
Expand Down
2 changes: 0 additions & 2 deletions .gitlab/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ download_dependency_wheels:
PIP_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/pip"
parallel:
matrix: # The image tags that are mirrored are in: https://github.com/DataDog/images/blob/master/mirror.yaml
- PYTHON_IMAGE_TAG: "3.8"
PYTHON_VERSION: "3.8"
- PYTHON_IMAGE_TAG: "3.9.13"
PYTHON_VERSION: "3.9"
- PYTHON_IMAGE_TAG: "3.10.13"
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/templates/build-base-venvs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build_base_venvs:
needs: []
parallel:
matrix:
- PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
- PYTHON_VERSION: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
variables:
CMAKE_BUILD_PARALLEL_LEVEL: '12'
PIP_VERBOSE: '0'
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/templates/cached-testrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EXT_CACHE_VENV: '${{CI_PROJECT_DIR}}/.cache/ext_cache_venv${{PYTHON_VERSION}}'
before_script: |
ulimit -c unlimited
pyenv global 3.12 3.8 3.9 3.10 3.11 3.13 3.14
pyenv global 3.12 3.9 3.10 3.11 3.13 3.14
export _CI_DD_AGENT_URL=http://${{HOST_IP}}:8126/
set -e -o pipefail
if [ ! -d $EXT_CACHE_VENV ]; then
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/templates/detect-global-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ detect-global-locks:
needs: []
parallel:
matrix:
- PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
- PYTHON_VERSION: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
variables:
DD_DYNAMIC_INSTRUMENTATION_ENABLED: '1'
DD_CODE_ORIGIN_FOR_SPANS_ENABLED: '1'
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/testrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variables:
before_script:
- ulimit -c unlimited
- git config --global --add safe.directory ${CI_PROJECT_DIR}
- pyenv global 3.12 3.8 3.9 3.10 3.11 3.13 3.14
- pyenv global 3.12 3.9 3.10 3.11 3.13 3.14
- export _CI_DD_AGENT_URL=http://${HOST_IP}:8126/
retry: 2
artifacts:
Expand Down
25 changes: 0 additions & 25 deletions .riot/requirements/1002685.txt

This file was deleted.

45 changes: 0 additions & 45 deletions .riot/requirements/1067a9b.txt

This file was deleted.

23 changes: 0 additions & 23 deletions .riot/requirements/106f38d.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/118fd10.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1072660.in
#
asgiref==3.9.1
attrs==25.3.0
asgiref==3.10.0
attrs==25.4.0
bcrypt==4.2.1
certifi==2025.8.3
charset-normalizer==3.4.3
certifi==2025.10.5
charset-normalizer==3.4.4
coverage[toml]==7.10.7
dill==0.4.0
django==4.0.10
Expand All @@ -18,8 +18,9 @@ gevent==25.9.1
greenlet==3.2.4
gunicorn==23.0.0
hypothesis==6.45.0
idna==3.10
idna==3.11
iniconfig==2.1.0
legacy-cgi==2.6.4
mock==5.2.0
opentracing==2.4.0
packaging==25.0
Expand All @@ -30,16 +31,16 @@ pytest==8.4.2
pytest-cov==7.0.0
pytest-django[testing]==3.10.0
pytest-mock==3.15.1
pyyaml==6.0.2
pyyaml==6.0.3
requests==2.32.5
six==1.17.0
sortedcontainers==2.4.0
sqlparse==0.5.3
tomli==2.2.1
tomli==2.3.0
typing-extensions==4.15.0
urllib3==2.5.0
zope-event==6.0
zope-interface==8.0
zope-interface==8.0.1

# The following packages are considered to be unsafe in a requirements file:
setuptools==80.9.0
27 changes: 0 additions & 27 deletions .riot/requirements/1078c3b.txt

This file was deleted.

26 changes: 0 additions & 26 deletions .riot/requirements/1087ca6.txt

This file was deleted.

31 changes: 0 additions & 31 deletions .riot/requirements/108bb1d.txt

This file was deleted.

Loading
Loading