Skip to content

Comments

feat(llmobs): distributed experiments SDK preview#16570

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 19 commits intomainfrom
gary/mlob-4860-v2
Feb 21, 2026
Merged

feat(llmobs): distributed experiments SDK preview#16570
gh-worker-dd-mergequeue-cf854d[bot] merged 19 commits intomainfrom
gary/mlob-4860-v2

Conversation

@gary-huang
Copy link
Contributor

@gary-huang gary-huang commented Feb 19, 2026

Description

adds a set of APIs to support running experiments across different hosts

  1. LLMObs._distributed_experiment to create the experiment
  2. LLMObs._run_for_experiment to run the experiment
  3. optionally experiment._submit_eval_metric to submit evals

this set of APIs is not publicly supported, internal only for the timebeing, subject to change

Testing

ran internal tests with instrumented mortar jobs, as well as local testing

Risks

this is unsupported to the public and blast radius should be limited to internal users

Additional Notes

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Feb 19, 2026

Codeowners resolved as

ddtrace/llmobs/_experiment.py                                           @DataDog/ml-observability
ddtrace/llmobs/_llmobs.py                                               @DataDog/ml-observability
ddtrace/llmobs/_writer.py                                               @DataDog/ml-observability
releasenotes/notes/llmobs-dne-experiments-dataset-records-filtering-095c0c445fec2fec.yaml  @DataDog/apm-python
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_1a7b4baf-d4c5-4053-9afd-d2e656c80757_events_post_e68fdc48.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_2fa3eedc.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_42c62a09.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_49547366.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_7159ccda.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_bd334a87.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_unstable_llm-obs_v1_experiments_post_ee65f763.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_v2_llm-obs_v1_experiments_filter_id__0ef1c572-785c-4de7-9a3c-b3a5ca19f1ca_get_7fa7e32e.yaml  @DataDog/ml-observability
tests/llmobs/llmobs_cassettes/datadog/datadog_api_v2_llm-obs_v1_experiments_filter_id__1a7b4baf-d4c5-4053-9afd-d2e656c80757_get_040454bc.yaml  @DataDog/ml-observability
tests/llmobs/test_experiments.py                                        @DataDog/ml-observability

@gary-huang gary-huang force-pushed the gary/mlob-4860-v2 branch 3 times, most recently from ca99469 to 4d7e924 Compare February 20, 2026 02:53
@gary-huang gary-huang changed the base branch from main to mehul.sonowal/add-tags-to-pull-datasets February 20, 2026 17:10
@gary-huang gary-huang changed the title feat(llmobs): integrate distributed experiment support onto main's Ba… feat(llmobs): distributed experiments SDK preview Feb 20, 2026
@gary-huang gary-huang added the changelog/no-changelog A changelog entry is not required for this PR. label Feb 20, 2026
@gary-huang gary-huang marked this pull request as ready for review February 20, 2026 18:48
@gary-huang gary-huang requested a review from a team as a code owner February 20, 2026 18:48
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9fd11e02c6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Contributor

@mehulsonowal mehulsonowal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubber stamp

Base automatically changed from mehul.sonowal/add-tags-to-pull-datasets to main February 20, 2026 21:44
@gary-huang
Copy link
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link

gh-worker-devflow-routing-ef8351 bot commented Feb 21, 2026

View all feedbacks in Devflow UI.

2026-02-21 00:18:19 UTC ℹ️ Start processing command /merge


2026-02-21 00:18:24 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 4h (p90).


2026-02-21 00:58:35 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 70f64a7 into main Feb 21, 2026
423 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the gary/mlob-4860-v2 branch February 21, 2026 00:58
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.

3 participants