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

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

There's also a case to be made for just doing some UUID mechanism that has a 
capped length example: "e67ddc3f-5dfb-46a0-b631-bcec207a0bde" although that is 
long-ish.  Hostnames are sometimes long too.  Maybe Jaeger's internal algorithm 
for trace ID generation could be cloned.

> Convert "rid" functionality into a default Tracer
> -------------------------------------------------
>
>                 Key: SOLR-15367
>                 URL: https://issues.apache.org/jira/browse/SOLR-15367
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>
> 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.3.4#803005)

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

Reply via email to