Skip to content

[epic] tracing refactor#75

Merged
karle0wne merged 16 commits intomasterfrom
epic/backward-compatibility
Nov 1, 2025
Merged

[epic] tracing refactor#75
karle0wne merged 16 commits intomasterfrom
epic/backward-compatibility

Conversation

@karle0wne
Copy link
Contributor

@karle0wne karle0wne commented Oct 7, 2025

No description provided.

* Refactor tracing pipeline and RestClient integration

•  replace the Apache HTTP client with Spring’s RestClient, introducing WachterRequestFactory and WachterClientResponse so outgoing calls reuse normalized headers and proxy upstream responses verbatim
•  split the monolithic tracing filter into dedicated classes that normalize Woody headers, hydrate the TraceContext, and drive OpenTelemetry server spans while guaranteeing traceparent injection and error/status attribution
•  add OtelConfig and supporting properties to bootstrap an OTLP exporter with W3C propagation plus lightweight helpers for request/header propagation
•  centralize JWT claim extraction and reuse it when enriching headers or filling missing user identity metadata from the trace context
•  broaden the test suite with new client/factory specs, comprehensive WebConfig coverage, and a WireMock integration test that verifies header propagation, span state, and response transparency
•  update tracing documentation to capture the new architecture and rollout steps
* http1 with apache http 5 config

* add HttpHeadersPolicy

* refactor HttpHeadersPolicy
@karle0wne karle0wne changed the title Epic/backward compatibility Refactor tracing pipeline and RestClient integration Oct 7, 2025
@karle0wne karle0wne changed the title Refactor tracing pipeline and RestClient integration [epic] tracing refactor Oct 15, 2025
@karle0wne karle0wne added the epic label Oct 15, 2025
@karle0wne karle0wne merged commit 23292c4 into master Nov 1, 2025
7 checks passed
@karle0wne karle0wne deleted the epic/backward-compatibility branch November 1, 2025 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants