[jira] [Updated] (PHOENIX-6581) Create a span based on TRACING_ENABLED configuration

2021-11-15 Thread Kiran Kumar Maturi (Jira)


 [ 
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)


[jira] [Updated] (PHOENIX-6581) Create a span based on TRACING_ENABLED configuration

2021-11-15 Thread Kiran Kumar Maturi (Jira)


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

Kiran Kumar Maturi updated PHOENIX-6581:

Summary: Create a span based on TRACING_ENABLED configuration  (was: Enable 
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
>
> In order to have better control on tracing. We should support tracing 
> sampling rate at connection level.



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