You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Alex Deparvu (Jira)" <ji...@apache.org> on 2023/09/08 13:34:00 UTC
[jira] [Commented] (SOLR-15797) Improve SolrJ Tracer support
[ https://issues.apache.org/jira/browse/SOLR-15797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763095#comment-17763095 ]
Alex Deparvu commented on SOLR-15797:
-------------------------------------
> You can add headers in the HTTP request via SolrRequest.addHeader.
yes. this works but not in all cases. the UpdateRequest does not allow propagation see SOLR-16950
reading through this ticket I am trying to understand what can be done here after Solr transitioned to OTEL. is it about improving docs? adding some examples?
> Improve SolrJ Tracer support
> ----------------------------
>
> Key: SOLR-15797
> URL: https://issues.apache.org/jira/browse/SOLR-15797
> Project: Solr
> Issue Type: Improvement
> 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.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org