Skip to content

chore: remote config experiments - #20622

Draft
KowalskiThomas wants to merge 1 commit into
mainfrom
kowalski/remote-config-experiments
Draft

KowalskiThomas wants to merge 1 commit into
mainfrom
kowalski/remote-config-experiments

Conversation

@KowalskiThomas

Copy link
Copy Markdown
Collaborator

Description

Temporary PR.

@KowalskiThomas
KowalskiThomas force-pushed the kowalski/remote-config-experiments branch from 6738373 to 7a513fa Compare September 29, 2026 13:54
@KowalskiThomas KowalskiThomas added the changelog/no-changelog A changelog entry is not required for this PR. label Sep 29, 2026
@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Pipelines  Tests

✨ Unblock PR with BitsAI

❌ Errors

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 2 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | prechecks — 🔧 Needs a code fix, caused by this PR

View more details · View in GitLab

Changelog | Validate changelog

View more details · View in GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7a513fa | Docs | View more details | Give us feedback!

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Circular import analysis

⚠️ Existing circular imports

There are 1 circular imports that already exist on the base branch and have not been changed by this PR.

ddtrace.errortracking._handled_exceptions.bytecode_injector -> ddtrace.errortracking._handled_exceptions.callbacks -> ddtrace.errortracking._handled_exceptions.collector -> ddtrace.errortracking._handled_exceptions.bytecode_reporting -> ddtrace.errortracking._handled_exceptions.bytecode_injector

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Codeowners resolved as

Resolved from the full PR diff against main using the target branch CODEOWNERS file.
CODEOWNERS team requests not listed below are not required by the current file set.

ddtrace/profiling/__init__.py                                           @DataDog/profiling-python
ddtrace/profiling/_product.py                                           @DataDog/profiling-python
pyproject.toml                                                          @DataDog/python-guild

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Dependency direction analysis

⚠️ Existing dependency direction violations

There are 201 dependency direction violations that already exist on the base branch and have not been changed by this PR.

Show existing violations (showing 5 of 201 highest severity)
ddtrace.internal.tracemethods -×-> ddtrace.trace  (internal-core -> product:tracing, score=132)
ddtrace.debugging._debugger -×-> ddtrace.trace  (product:debugging -> product:tracing, score=130)
ddtrace.llmobs._integrations.claude_agent_sdk -×-> ddtrace.trace  (product:llmobs -> product:tracing, score=130)
ddtrace.internal.opentelemetry.trace -×-> ddtrace.trace  (product:opentelemetry -> product:tracing, score=130)
ddtrace.llmobs._integrations.openai_agents -×-> ddtrace.trace  (product:llmobs -> product:tracing, score=130)

To see all violations, download the layers-base.json and layers-pr.json artifacts from this CI job and run:

uv run --script scripts/import-analysis/layers.py compare layers-base.json layers-pr.json

@pr-commenter

pr-commenter Bot commented Sep 29, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-09-29 14:32:19

Comparing candidate commit 7a513fa in PR branch kowalski/remote-config-experiments with baseline commit e2c6c05 in branch main.

📊 Benchmarking dashboard

Found 0 performance improvements and 9 performance regressions! Performance is the same for 602 metrics, 10 unstable metrics, 7 known flaky benchmarks, 17 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:httppropagationextract-empty_headers

  • 🟥 execution_time [+90.707ns; +112.634ns] or [+12.345%; +15.329%]

scenario:iastaspects-add_aspect

  • 🟥 execution_time [+8.388µs; +10.803µs] or [+9.877%; +12.719%]

scenario:iastaspects-format_map_noaspect

  • 🟥 execution_time [+101.091µs; +108.838µs] or [+29.232%; +31.472%]

scenario:iastaspectsremodule-re_expand_aspect

  • 🟥 execution_time [+80.200µs; +93.534µs] or [+12.666%; +14.772%]

scenario:msgpackencoderscenario-simple_one_span

  • 🟥 execution_time [+515.131ns; +569.247ns] or [+12.473%; +13.784%]

scenario:openfeatureflagevaluation-hook-enqueue-typical

  • 🟥 execution_time [+1.649µs; +1.781µs] or [+7.822%; +8.447%]

scenario:otelspan-start

  • 🟥 execution_time [+1.811ms; +2.674ms] or [+7.291%; +10.768%]

scenario:recursivecomputation-shallow

  • 🟥 execution_time [+50.429µs; +54.402µs] or [+7.204%; +7.771%]

scenario:span-start-finish-telemetry

  • 🟥 execution_time [+4.193ms; +4.468ms] or [+10.221%; +10.893%]

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:coreapiscenario-context_with_data_listeners

  • unstable execution_time [-746.214ns; +730.271ns] or [-7.164%; +7.011%]

scenario:coreapiscenario-core_dispatch_1_listener

  • unstable execution_time [-35.912ns; +42.383ns] or [-5.415%; +6.391%]

scenario:coreapiscenario-core_dispatch_50_listeners

  • unstable execution_time [-1929.457ns; +1898.346ns] or [-9.721%; +9.564%]

scenario:coreapiscenario-core_dispatch_exception_listeners

  • unstable execution_time [-2619.645ns; +1289.581ns] or [-13.302%; +6.548%]

scenario:coreapiscenario-core_dispatch_listeners

  • unstable execution_time [-391.529ns; +372.917ns] or [-9.211%; +8.773%]

scenario:coreapiscenario-core_dispatch_no_args_listeners

  • unstable execution_time [-235.283ns; +224.141ns] or [-8.821%; +8.404%]

scenario:coreapiscenario-core_dispatch_with_results_1_listener

  • unstable execution_time [-108.055ns; +79.202ns] or [-7.861%; +5.762%]

scenario:coreapiscenario-core_dispatch_with_results_50_listeners

  • unstable execution_time [-4524.270ns; +4762.377ns] or [-9.410%; +9.905%]

scenario:coreapiscenario-core_dispatch_with_results_listeners

  • unstable execution_time [-896.323ns; +1000.553ns] or [-8.805%; +9.829%]

scenario:packagesupdateimporteddependencies-import_many_stdlib_cached

  • unstable execution_time [-50.871µs; +57.888µs] or [-9.019%; +10.263%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:httppropagationinject-ids_only

  • 🟥 execution_time [+2.908µs; +3.029µs] or [+20.654%; +21.511%]

scenario:iastaspects-translate_aspect

  • 🟥 execution_time [+102.927µs; +108.300µs] or [+15.302%; +16.100%]

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+146.769µs; +154.663µs] or [+40.072%; +42.227%]

scenario:iastaspectssplit-rsplit_aspect

  • 🟥 execution_time [+31.359µs; +35.855µs] or [+20.190%; +23.085%]

scenario:span-start

  • 🟥 execution_time [+1.297ms; +1.729ms] or [+10.373%; +13.828%]

scenario:telemetryaddmetric-1-count-metric-1-times

  • 🟥 execution_time [+241.375ns; +282.433ns] or [+12.615%; +14.760%]

scenario:tracer-small

  • 🟥 execution_time [+42.865µs; +44.065µs] or [+17.451%; +17.939%]

Known flaky benchmarks without significant changes:

  • scenario:errortrackingflasksqli-baseline
  • scenario:flasksimple-iast-get
  • scenario:iastaspects-casefold_aspect
  • scenario:iastaspects-casefold_noaspect
  • scenario:iastaspects-index_aspect
  • scenario:iastaspects-ljust_noaspect
  • scenario:iastaspects-lower_aspect
  • scenario:iastaspects-replace_aspect
  • scenario:iastaspects-rstrip_aspect
  • scenario:iastaspects-swapcase_aspect
  • scenario:iastaspects-title_noaspect
  • scenario:iastaspects-translate_noaspect
  • scenario:iastaspects-upper_noaspect
  • scenario:packagespackageforrootmodulemapping-cache_off
  • scenario:packagespackageforrootmodulemapping-cache_on
  • scenario:sethttpmeta-all-enabled
  • scenario:telemetryaddmetric-record-100-metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant