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

David Smiley commented on SOLR-15367:
-------------------------------------

There will be no 9x backport as this is using OpenTelemetry (OTEL) which is 
only in main branch as the primary tracing API.  We can only have one primary 
tracing API and it shouldn't change in a minor release.  I could imagine 
re-implementing this using OpenTracing on 9x though.  Perhaps seeing what's 
involved for OTEL, it might be easier to port to OpenTracing.  Any way, a user 
on 8x or 9x can get this functionality by enabling Tracing with an existing 
module (adds a bunch of dependencies), and configure to tracing server.  Zero 
sampling.  In 8x, furthermore a logging tweak is needed.

> Convert "rid" functionality into a default Tracer
> -------------------------------------------------
>
>                 Key: SOLR-15367
>                 URL: https://issues.apache.org/jira/browse/SOLR-15367
>             Project: Solr
>          Issue Type: Improvement
>          Components: tracing
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> Solr's "rid" (request ID) functionality added in SOLR-14566 could be 
> converted into a distributed-tracing OpenTracing Tracer (Solr 
> TracerConfigurator) plugin, more or less.  Such an implementation, enabled by 
> default, would merely generate IDs and pass them along in a custom HTTP 
> header.  Solr's existing tracing support would then ensure that this ID is in 
> MDC in the "t:" log prefix, and thus would fit in nicely.  "rid" is kind of a 
> cheap bolt-on by comparison, duplicative with tracing but far fewer features. 
>  Solr's tracing support is growing, supporting more Solr-to-Solr interaction 
> than "rid" which is only in a search request.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to