sravani-revuri commented on code in PR #11993: URL: https://github.com/apache/ozone/pull/11993#discussion_r4663140129
########## hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/tracing/TracingUtil.java: ########## Review Comment: createInternalProxy is evaluated once at object construction, when ozone.tracing.enabled=false at startup, the delegate is stored without a proxy. reconfigureTracing only refreshes the OTel SDK and does not repeat wrapping, so enabling tracing at runtime leaves this PR’s proxy spans missing until process restart. Previously, create proxy was only used on the client side. With these new additions on server-side call sites in SCM, the missing span hierarchy becomes much more noticeable (and the same limitation might apply to similar wiring in OM/DN) . can this be handled in a better way and update documentation to note this behaviour? ### original: <img width="492" height="240" alt="image" src="https://github.com/user-attachments/assets/fcc89391-e3d6-46eb-9c4f-14b5bb133d4e" /> ### what is lost: <img width="360" height="70" alt="image" src="https://github.com/user-attachments/assets/3510256d-f167-418d-a6aa-9c864439f8e4" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
