tree: 55e0aa2bda4d9a6fe3faddea20d12707cfd02a9b [path history] [tgz]
  1. src/
  2. build.gradle
  3. README.md
solr/modules/jaegertracer-configurator/README.md

Welcome to Apache Solr Jaeger Tracer Configurator

Apache Solr Jaeger Tracer Configurator provides a way for you to expose Solr's tracing to Jaeger.

Setup Jaeger Tracer Configurator

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