Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4df74d8
poc axum-weblog (index, healthcheck & make_distant_call)
MilanGarnier Jul 7, 2026
6900093
update mirror images
MilanGarnier Jul 7, 2026
3fbe4aa
use existing middleware for reqwest and axum
MilanGarnier Jul 7, 2026
e08425d
fix opentelemetry having simultaneaous different versions. (temporary
MilanGarnier Jul 8, 2026
51dae86
rust manifest edits
MilanGarnier Jul 9, 2026
e98854b
make_extract_call matches spec (passing on test extract behavior)
MilanGarnier Jul 9, 2026
5e064a2
Restructure code
MilanGarnier Jul 9, 2026
d4a926b
skip some missing endpoints
MilanGarnier Jul 9, 2026
c6b1fef
enrich span fix
MilanGarnier Jul 10, 2026
cc693f4
implement /status endpoint
MilanGarnier Jul 10, 2026
aad1265
/status endpoint
MilanGarnier Jul 10, 2026
fbcb8d5
more simple endpoints
MilanGarnier Jul 10, 2026
e439cc2
add endpoints and enable telemetry tests
MilanGarnier Jul 13, 2026
84f8454
disable missing tests for current weblog state
MilanGarnier Jul 15, 2026
5a29dea
test: declare Rust Axum weblog metadata
MilanGarnier Jul 15, 2026
dc1864a
fix: clarify Rust dependency resolution failures
MilanGarnier Jul 15, 2026
fa2382a
address codex review comments
MilanGarnier Jul 15, 2026
adf793c
stop faking tracer features in the weblog: client IP & referer hostname
MilanGarnier Jul 15, 2026
69344c6
remove weblog-side query-string obfuscation
MilanGarnier Jul 15, 2026
70caf8e
refactor(axum): add name to attribute in header interceptor
genesor Jul 16, 2026
c825c41
remove waf
MilanGarnier Jul 16, 2026
5f02bcd
refactor(axum): intall_ddtrace reorg for readability
MilanGarnier Jul 16, 2026
2b88d06
refactor(axum): readability
MilanGarnier Jul 16, 2026
108dea9
fix(axum): add weblog metadata for axum
MilanGarnier Jul 16, 2026
6fcbde2
Merge branch 'main' into milan.garnier/axum-weblog
MilanGarnier Jul 16, 2026
b710b59
nit(axum): some typos
MilanGarnier Jul 16, 2026
a7448fe
fix(axum): disable query string obfuscation test for default server
MilanGarnier Jul 16, 2026
bf6c402
fix(axum): disable network.client.ip standard tags tests
MilanGarnier Jul 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 112 additions & 11 deletions manifests/rust.yml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions mirror_images.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ images:
digest: sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6
target: registry.ddbuild.io/system-tests/mirror/rockylinux:9
tag: '9'
rust:1.94.1-slim-bookworm:
digest: sha256:cf9dd0ec73e75f827fe59123fff9dc65af1a1c8363c3c31ee8d7f8ad0b6a5fb2
target: registry.ddbuild.io/system-tests/mirror/rust:1.94.1-slim-bookworm
tag: 1.94.1-slim-bookworm
softwaremill/elasticmq-native:1.6.11:
digest: sha256:fe3af4a8dd59f310b20e07ec3499cfdeb16a14f518c95ad7e70f200845dce3f5
target: registry.ddbuild.io/system-tests/mirror/softwaremill/elasticmq-native:1.6.11
Expand Down
1 change: 1 addition & 0 deletions mirror_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@
- "python:3.14-slim"
- "rabbitmq:3.12-management-alpine"
- "rockylinux:9"
- "rust:1.94.1-slim-bookworm"
- "softwaremill/elasticmq-native:1.6.11"
- "ubuntu:24.04"
3 changes: 2 additions & 1 deletion tests/schemas/utils/library/v0.7/config-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"java",
"php",
"python",
"ruby"
"ruby",
"rust"
]
},
"process_tags": {
Expand Down
1 change: 1 addition & 0 deletions tests/test_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ def test_app_started_client_configuration(self):
"cpp_httpd": {"trace_agent_port": trace_agent_port},
"java": {"DD_TRACE_AGENT_PORT": trace_agent_port, "DD_TELEMETRY_HEARTBEAT_INTERVAL": 2},
"ruby": {"DD_AGENT_TRANSPORT": "TCP"},
"rust": {"DD_AGENT_HOST": "proxy", "DD_TRACE_AGENT_PORT": trace_agent_port},
"golang": {"lambda_mode": False},
}
configuration_map = test_configuration[context.library.name]
Expand Down
30 changes: 30 additions & 0 deletions utils/build/docker/rust/axum.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM rust:1.94.1-slim-bookworm AS builder

RUN apt-get update && apt-get install -y openssh-client git jq && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/app
COPY utils/build/docker/rust/axum .
COPY utils/build/docker/rust/install_ddtrace.sh /binaries/install_ddtrace.sh

# Copy optional local tracer binary
COPY binaries/ /binaries/

RUN /binaries/install_ddtrace.sh

RUN --mount=type=cache,target=/usr/app/target/ \
--mount=type=cache,target=/usr/local/cargo/registry/ \
cargo build --release && cp ./target/release/weblog /usr/app/weblog

RUN bash system_tests_library_version.sh > /usr/app/SYSTEM_TESTS_LIBRARY_VERSION

FROM debian:bookworm-slim AS final

RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*

COPY --from=builder /usr/app/weblog /app/weblog
COPY --from=builder /usr/app/SYSTEM_TESTS_LIBRARY_VERSION /app/SYSTEM_TESTS_LIBRARY_VERSION
COPY utils/build/docker/rust/axum/app.sh /app/app.sh
RUN chmod +x /app/app.sh
Comment thread
MilanGarnier marked this conversation as resolved.

WORKDIR /app
CMD ["./app.sh"]
1 change: 1 addition & 0 deletions utils/build/docker/rust/axum/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
Loading
Loading