Add OTLP trace export tests + Rust weblog [rust@brian.marks/otlp-trace-export][ruby@brian.marks/otlp-trace-export][php@brian.marks/otlp-trace-export]#7121
Draft
bm1549 wants to merge 2 commits into
Conversation
…y/php Adds a minimal axum-based end-to-end weblog for the Datadog Rust tracer (dd-trace-rs) under utils/build/docker/rust/weblog with a GET / endpoint (single server span), GET /make_distant_call (server + outbound client span for the 128-bit trace-id test), and the mandatory /healthcheck. The weblog consumes datadog-opentelemetry from the dd-trace-rs feature branch via a trace-only (no gRPC) path dependency and stamps a -dev version so the harness treats it as an in-development build. Registered as the default rust weblog (axum) via utils/build/docker/rust/axum.Dockerfile. Activates tests/otel/test_tracing_otlp.py::Test_Otel_Tracing_OTLP for the three feature branches by switching the manifest entries from missing_feature to the unreleased dev versions: - rust: v0.3.4-dev - ruby: v2.36.0-dev - php: v1.21.0-dev The ruby (rails72) and php (apache-mod-8.0) weblogs already implement / and /make_distant_call, so no weblog changes were needed there. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…agent The system-tests proxy reads the raw OTLP payload, where get_otel_spans matches the injected rid token on http.request.headers.user-agent / http.useragent — not the OTel user_agent.original key the weblog set, so no spans were correlated and the OTLP tests would all fail. Also list rust under build.md Libraries names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 10, 2026
Contributor
|
|
This was referenced Jun 10, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Cross-language OTLP Traces Export effort (RFC "OTLP Traces Export 2026Q1", Phase 1). The existing
Test_Otel_Tracing_OTLP(scenarioapm_tracing_otlp) was active for python/nodejs/golang/java/dotnet andmissing_featurefor rust/ruby/php. This PR activates it for rust, ruby, and php, and adds the Rust end-to-end weblog that was missing.Changes
utils/build/docker/rust/weblog/(+axum.Dockerfile):GET /,GET /make_distant_call?url=,GET /healthcheck, instrumented with dd-trace-rs from thebrian.marks/otlp-trace-exportbranch (trace-only features). The server span setshttp.request.headers.user-agentsoget_otel_spanscorrelates the exported span to the request.Test_Otel_Tracing_OTLPinmanifests/{rust,ruby,php}.yml(missing_feature→v0.3.4-dev/v2.36.0-dev/v1.21.0-dev). No test logic changed; no language carve-outs.docs/execute/build.md: listrustand itsaxumweblog.Ruby (rails72) and PHP (apache-mod-8.0) weblogs already implement the required endpoints — no weblog changes there.
Workflow
[lang@branch]title annotations point CI at the tracer feature branches; they will be removed before merge once the tracer PRs land.Reviewer checklist
tests/ormanifests/is modified? — yes (new Rust weblog + docs); R&P review may be needed.apm_tracing_otlp).Related PRs (cross-language OTLP traces export):
Merge order: libdatadog #2101 → dd-trace-php #3971 (re-bump the submodule to the released libdatadog commit). system-tests #7121 validates rust/ruby/php once the tracer branches are available.
🤖 Generated with Claude Code