Skip to content

SMOODEV-2023: Rust optional tower/axum + reqwest instrumentation helpers#59

Merged
brentrager merged 1 commit into
mainfrom
SMOODEV-2023-rust-frameworks
Jun 21, 2026
Merged

SMOODEV-2023: Rust optional tower/axum + reqwest instrumentation helpers#59
brentrager merged 1 commit into
mainfrom
SMOODEV-2023-rust-frameworks

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Adds feature-gated (default-off) HTTP instrumentation to smooai-observability: tower feature → OtelTraceLayer (per-request server span on the SDK's global tracer, route-template extractor, context nesting); reqwest-middleware feature → OtelReqwestMiddleware (client spans) + instrument_client_call fallback. Deliberately uses the direct OTel API (not tower_http::TraceLayer, which needs a tracing-otel bridge the crate doesn't install). fmt+clippy(--all-features,-D warnings)+test(--all-features, 63) green; builds verified for default/tower-only/reqwest-only/all-features. Part of SMOODEV-2023 / epic 1981.

Note: W3C traceparent header injection on outbound reqwest calls is a follow-up (no propagator wired yet).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a750cb4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@brentrager brentrager merged commit 6e9459e into main Jun 21, 2026
6 checks passed
@brentrager brentrager deleted the SMOODEV-2023-rust-frameworks branch June 21, 2026 00:48
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