Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Done
Description
TracingUtil.createProxy is a helper method to create a proxy instance with tracing support.
The proxy instance implements the same interface as the original class and delegates all the method calls to the original instance but it also sends tracing information to the tracing server.
By default it's not a big overhead as the tracing libraries can be configured to send tracing only with some low probability.
But to make it more safe we can make it optional. With a global 'hdds.tracing.enabled' configuration variable (can be true by default) we can adjust the behavior of TracingUtil.createProxy.
If the tracing is disabled the TracingUtil.createProxy should return with the 'delegate' parameter instead of a proxy.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-15566 Support OpenTelemetry
-
- Patch Available
-
- links to