[
https://issues.apache.org/jira/browse/PHOENIX-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajeshbabu Chintaguntla updated PHOENIX-1691:
---------------------------------------------
Attachment: PHOENIX-1691.patch
Here is the patch to set sampling optinally while enabling trace. Following
below way. If no sampling rate specify then considering it as 1.0 and ALWAYS
sampler will be used.
{noformat}
TRACE ON WITH SAMPLING 0.05
{noformat}
if the sampling rate is
1) above or equal to 1.0 then ALWAYS sampler will be used
2) between 0.0 and 1.0 then probability sampler will be used.
3) below 0.0 NEVER sampler will be used.
[~ndimiduk] [~jamestaylor] Please review and provide your feedback.
> Allow settting sampling rate while enabling tracing.
> ----------------------------------------------------
>
> Key: PHOENIX-1691
> URL: https://issues.apache.org/jira/browse/PHOENIX-1691
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Fix For: 5.0.0, 4.4
>
> Attachments: PHOENIX-1691.patch
>
>
> Now we can dynamically enable/disable tracing from query. We should also be
> able to set sampling rate while enabling tracing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)