Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-15283 GlobalTracer overhaul #52

Merged
merged 6 commits into from Apr 22, 2021

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Mar 28, 2021

https://issues.apache.org/jira/browse/SOLR-15283
(for overall concerns, discuss in JIRA)

  • Solr's GlobalTracer is gone. Use OpenTracing's GlobalTracer, or even better: getters on CoreContainer, SolrQueryRequest, etc.
  • No more "samplingThreshold" cluster property. Instead, configure sampling specific to the plugin.
  • Ensure the active span is visible from all threads by using ExecutorUtil

TODO:

  • Solr Ref Guide
  • CHANGES / upgrade notes
  • JaegerTracerConfigurator's sampler should be configurable

* Solr's GlobalTracer is gone. Use OpenTracing's GlobalTracer, or even better: getters on CoreContainer, SolrQueryRequest, etc.
* No more "samplingThreshold" cluster property.  Instead, configure sampling specific to the plugin.
* Ensure the active span is visible from all threads by using ExecutorUtil
@dsmiley dsmiley requested a review from CaoManhDat March 28, 2021 22:45
@dsmiley
Copy link
Contributor Author

dsmiley commented Apr 14, 2021

I think this is ready; I'll merge it Friday.

# Conflicts:
#	solr/core/src/java/org/apache/solr/core/CoreContainer.java
@dsmiley dsmiley merged commit 69b4187 into apache:main Apr 22, 2021
@dsmiley dsmiley deleted the SOLR-15238-GlobalTracer branch April 22, 2021 16:21
@ryo0301
Copy link

ryo0301 commented Apr 25, 2021

The ticket number in CHANGES.txt is SOLR-15238, not SOLR-15283.

@dsmiley
Copy link
Contributor Author

dsmiley commented Apr 25, 2021

Thanks @ryo0301 ; I pushed a fix.

epugh pushed a commit to epugh/solr that referenced this pull request Oct 22, 2021
* Solr's GlobalTracer is gone. Use OpenTracing's GlobalTracer, or even better: getters on CoreContainer, SolrQueryRequest, etc.
* No more "samplingThreshold" cluster property.  Instead, configure sampling specific to the plugin.
* Ensure the active span is visible from all threads by using ExecutorUtil
* JaegerTracerConfigurator is now configured via sys props / env vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants