[
https://issues.apache.org/jira/browse/HDDS-1153?focusedWorklogId=221263&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221263
]
ASF GitHub Bot logged work on HDDS-1153:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Apr/19 12:13
Start Date: 01/Apr/19 12:13
Worklog Time Spent: 10m
Work Description: kittinanasi commented on pull request #673: HDDS-1153.
Make tracing instrumentation configurable
URL: https://github.com/apache/hadoop/pull/673
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 221263)
Time Spent: 10m
Remaining Estimate: 0h
> Make tracing instrumentation configurable
> -----------------------------------------
>
> Key: HDDS-1153
> URL: https://issues.apache.org/jira/browse/HDDS-1153
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Elek, Marton
> Assignee: Kitti Nanasi
> Priority: Major
> Labels: newbie, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]