Skip to content

test(otel): cover OTLP exporter timeouts - #7793

Open
MilanGarnier wants to merge 6 commits into
mainfrom
milan.garnier/test-otel-otlp-timeouts
Open

MilanGarnier wants to merge 6 commits into
mainfrom
milan.garnier/test-otel-otlp-timeouts

Conversation

@MilanGarnier

@MilanGarnier MilanGarnier commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Adds dedicated parametric suites for OTEL_EXPORTER_OTLP_TIMEOUT,
OTEL_EXPORTER_OTLP_LOGS_TIMEOUT, OTEL_EXPORTER_OTLP_METRICS_TIMEOUT, and
OTEL_EXPORTER_OTLP_TRACES_TIMEOUT.

  • Checks configuration telemetry for a 500 ms timeout, zero (unlimited), and
    the 10,000 ms default when the variable is unset, empty, or negative.
    Handles Java's DD_OTLP_*_TIMEOUT telemetry names.
  • Associates each suite with its corresponding timeout feature.
  • Adds version-based activation and unsupported-feature declarations across
    the nine tracer manifests, with case-level declarations for known bugs,
    test-app limitations, and differing Datadog defaults.
  • Reclassifies Java's existing OTEL_TRACES_EXPORTER default, empty, and
    invalid-value cases from missing_feature to bug (APMAPI-2485).

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/parametric/otel_env_vars/test_otel_exporter_otlp_logs_timeout.py  @DataDog/system-tests-reviewers
tests/parametric/otel_env_vars/test_otel_exporter_otlp_metrics_timeout.py  @DataDog/system-tests-reviewers
tests/parametric/otel_env_vars/test_otel_exporter_otlp_timeout.py       @DataDog/system-tests-reviewers
tests/parametric/otel_env_vars/test_otel_exporter_otlp_traces_timeout.py  @DataDog/system-tests-reviewers
manifests/cpp.yml                                                       @DataDog/system-tests-reviewers
manifests/dotnet.yml                                                    @DataDog/system-tests-reviewers
manifests/golang.yml                                                    @DataDog/system-tests-reviewers
manifests/java.yml                                                      @DataDog/system-tests-reviewers
manifests/nodejs.yml                                                    @DataDog/system-tests-reviewers
manifests/php.yml                                                       @DataDog/system-tests-reviewers
manifests/python.yml                                                    @DataDog/system-tests-reviewers
manifests/ruby.yml                                                      @DataDog/system-tests-reviewers
manifests/rust.yml                                                      @DataDog/system-tests-reviewers

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Pipelines  Tests

❌ Errors

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

🚦 91 Pipeline jobs failed

Testing the test | System Tests (golang, dev) / parametric / parametric (2) — ❌ 1 test failed · 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

❌ tests.parametric.otel_env_vars.test_otel_exporter_otlp_logs_timeout.Test_OTEL_EXPORTER_OTLP_LOGS_TIMEOUT.test_zero_is_unlimited[zero-unlimited, parametric-go... from system_tests_suite
AssertionError: No telemetry configuration 'OTEL_EXPORTER_OTLP_LOGS_TIMEOUT'
assert None

self = <tests.parametric.otel_env_vars.test_otel_exporter_otlp_logs_timeout.Test_OTEL_EXPORTER_OTLP_LOGS_TIMEOUT object at 0x7f8d839585c0>
test_agent = <utils.docker_fixtures._test_agent.TestAgentAPI object at 0x7f8d81fef890>
test_library = <utils.docker_fixtures._test_clients._test_client_parametric.ParametricTestClientApi object at 0x7f8d8220f260>

    @pytest.mark.parametrize(
        "library_env",
        [pytest.param({**LOGS_ENVIRONMENT, VARIABLE_NAME: "0"}, id="zero-unlimited")],
...
Testing the test | System Tests (golang, prod) / parametric / parametric (1) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Testing the test | System Tests (cpp_httpd, dev) / End-to-end #1 / httpd 1

View more details · View in GitHub Actions

View all 91 failed jobs.

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

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

@MilanGarnier
MilanGarnier marked this pull request as ready for review October 1, 2026 16:49
@MilanGarnier
MilanGarnier requested a review from a team as a code owner October 1, 2026 16:49
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T16:51:58.227976Z 78a8e41 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@MilanGarnier
MilanGarnier requested a review from vpellan October 2, 2026 15:43

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant