[ 
https://issues.apache.org/jira/browse/PHOENIX-6581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kiran Kumar Maturi updated PHOENIX-6581:
----------------------------------------
    Description: 
A client can create multiple connections and might want only few connections to 
have tracing enabled. We can do this by controlling the span creation at parent 
level (executeUpdate/ executeQuery). Opentelemetry provides an SDK to better 
control on 
[sampling|https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampling].
 we will be creating a valid span based on the configuration (TRACING_ENABLED) 
using which the connection was creation.
This can be further improved by writing custom sampler as well

  was:In order to have better control on tracing. We should support tracing 
sampling rate at connection level.


> Create a span based on TRACING_ENABLED configuration
> ----------------------------------------------------
>
>                 Key: PHOENIX-6581
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6581
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Kiran Kumar Maturi
>            Assignee: Kiran Kumar Maturi
>            Priority: Minor
>
> A client can create multiple connections and might want only few connections 
> to have tracing enabled. We can do this by controlling the span creation at 
> parent level (executeUpdate/ executeQuery). Opentelemetry provides an SDK to 
> better control on 
> [sampling|https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampling].
>  we will be creating a valid span based on the configuration 
> (TRACING_ENABLED) using which the connection was creation.
> This can be further improved by writing custom sampler as well



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to