feat(observability): add generic request correlation and tracing foundation - #664
Conversation
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
|
补充维护者门禁结果:
维护者侧的完整就绪扫描还发现,当前公开 |
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
|
This is solid observability groundwork, and I'm treating it as part of the same architecture track as #630 — so, per my note there, I'm not single-approving a 2.8k-line foundational change on the auth/observability boundary; that's a maintainer call on direction. But I do want to flag a three-way overlap on the observability line that needs sequencing before any of these merge, because all three touch the same seams:
Two concrete collisions:
Suggested order: land #673 (smallest, pure redaction) → reconcile #644's MDC decorator with this PR's tracing propagation → then this. @dongjiang1989 flagging for the sequencing/direction call. Happy to re-review the correlation-boundary code specifically once the overlap with #644/#673 is settled. |
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
…round-observability
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
|
Final maintainer validation update:
The earlier maintainer note about not declaring merge readiness is superseded by this final gate result. |
What
X-Request-Idhandlingrequest.id,trace.id, andspan.idcorrelation fieldsnone,otel-sdk, andexternal-agenttracing modesWhy
The follow-up from #592 mixed two separate concerns: generic observability infrastructure and reliable search-index delivery. This PR implements only the reusable observability foundation. Search-index retry, compensation, dead-letter, and replay semantics remain independent work tracked by #597.
Closes #663
How
none,otel-sdk, andexternal-agentmutually exclusive and configuration-drivenFinal maintainer validation
Exact PR head:
9290fe3ca222964335f94949506a40849fffc5aaExact integrated
big-mainvalidation commit:b459b1a82c686603ec0929c68ef69a067943c898Local validation:
skillhub-app -amJava 21 backend regression: passedRuntime and remote validation:
big-mainthree-component release image set built from production Dockerfilesb459b1a82c686603ec0929c68ef69a067943c898big-mainlocal release Compose preview passed smoke and runtime auth-config checksrequest.id+traceparentpropagation, exception scan, cleanup, and pre-existing runtime preservationCI and merge readiness:
MERGEABLE/CLEANImpact
noneremains the zero-backend modeotel-sdkcan run without an OTLP endpoint and will not fail startupRelated