You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2019/02/21 08:39:00 UTC

[jira] [Created] (HDDS-1153) Make tracing instrumetntation configurable

Elek, Marton created HDDS-1153:
----------------------------------

             Summary: Make tracing instrumetntation configurable
                 Key: HDDS-1153
                 URL: https://issues.apache.org/jira/browse/HDDS-1153
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
            Reporter: Elek, Marton


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org