Apache Solr Jaeger Tracer Configurator provides a way for you to expose Solr's tracing to Jaeger.
Add this Solr Module to your Solr installation by enabling it via -Dsolr.modules=jaegertracer-configurator
There are a number of sampler's available to Jaeger. Learn more about the available samplers at https://www.jaegertracing.io/docs/sampling/#client-sampling-configuration.
The Jaeger Tracer Configurator is added to solr.xml
like this:
<tracerConfig name="tracerConfig" class="org.apache.solr.jaeger.JaegerTracerConfigurator" />
There are no configuration elements in the XML; instead, this 3rd party system is configured using System Properties or Environment Variables. The full list are listed at Jaeger-README. For example, to use the probabilistic sampler, you could set this environment variable:
export JAEGER_SAMPLER_TYPE=probabilistic
or System property:
bin/solr start -DJAEGER_SAMPLER_TYPE=probabilistic