You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2021/11/16 00:08:00 UTC

[jira] [Updated] (SOLR-15797) Improve SolrJ Tracer support

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

Chris M. Hostetter updated SOLR-15797:
--------------------------------------
    Description: 
Currently, to use OpenTracing support with SolrJ, client applications must either:

* Use the opentracing [SpecialAgent|https://github.com/opentracing-contrib/java-specialagent] to automaticlaly inject tracing information in all outgoing http connections
* write & inject their own Carrier leveraging {{[SolrRequest.addHeader()|https://solr.apache.org/docs/8_10_0/solr-solrj/org/apache/solr/client/solrj/SolrRequest.html#addHeader-java.lang.String-java.lang.String-]}}

It would be nice if there was a more "native" approach to doing this and/or better documentation on how SolrJ clients can/should integrate OpenTracing in their client application to most-easily  propogate tracing information to Solr


  was:
It's not currently possible (or at least: not very easy out of the box) for a SolrJ client application to specify distributed Tracing information in a request to Solr such that Solr's Tracer support will recognize that the request is part of a a larger Span.

We should figure out & documented a recommended way of doing this

        Summary: Improve SolrJ Tracer support  (was: SolrJ Tracer support)

> Improve SolrJ Tracer support
> ----------------------------
>
>                 Key: SOLR-15797
>                 URL: https://issues.apache.org/jira/browse/SOLR-15797
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> Currently, to use OpenTracing support with SolrJ, client applications must either:
> * Use the opentracing [SpecialAgent|https://github.com/opentracing-contrib/java-specialagent] to automaticlaly inject tracing information in all outgoing http connections
> * write & inject their own Carrier leveraging {{[SolrRequest.addHeader()|https://solr.apache.org/docs/8_10_0/solr-solrj/org/apache/solr/client/solrj/SolrRequest.html#addHeader-java.lang.String-java.lang.String-]}}
> It would be nice if there was a more "native" approach to doing this and/or better documentation on how SolrJ clients can/should integrate OpenTracing in their client application to most-easily  propogate tracing information to Solr



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org