[ 
https://issues.apache.org/jira/browse/PHOENIX-6581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444275#comment-17444275
 ] 

Kiran Kumar Maturi commented on PHOENIX-6581:
---------------------------------------------

Created a PR https://github.com/ArkenKiran/phoenix/pull/6/files. will merge 
this as part of PHOENIX-5215

> 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