You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Kiran Kumar Maturi (Jira)" <ji...@apache.org> on 2021/11/16 05:38:00 UTC

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

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