aboutsummaryrefslogtreecommitdiff
path: root/solr-8.3.1/contrib/jaegertracer-configurator
diff options
context:
space:
mode:
authorserver <brownptcdash@gmail.com>2019-12-10 18:12:37 -0500
committerserver <brownptcdash@gmail.com>2019-12-10 18:12:37 -0500
commit7478e610d99d1f2fb383ecbfa0b70d72eae27f81 (patch)
tree59486701838067351f00580315c05690f36a39ce /solr-8.3.1/contrib/jaegertracer-configurator
parent096718ee546afbd7568bf8ec9e23dca0556d814d (diff)
solr changes
Diffstat (limited to 'solr-8.3.1/contrib/jaegertracer-configurator')
-rw-r--r--solr-8.3.1/contrib/jaegertracer-configurator/README.txt32
-rw-r--r--solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-core-0.35.5.jarbin0 -> 134790 bytes
-rw-r--r--solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-thrift-0.35.5.jarbin0 -> 704038 bytes
-rw-r--r--solr-8.3.1/contrib/jaegertracer-configurator/lib/libthrift-0.12.0.jarbin0 -> 246445 bytes
4 files changed, 32 insertions, 0 deletions
diff --git a/solr-8.3.1/contrib/jaegertracer-configurator/README.txt b/solr-8.3.1/contrib/jaegertracer-configurator/README.txt
new file mode 100644
index 000000000..4fe1c2406
--- /dev/null
+++ b/solr-8.3.1/contrib/jaegertracer-configurator/README.txt
@@ -0,0 +1,32 @@
+Welcome to Apache Solr Jaeger Tracer Configurator
+========
+
+Apache Solr Jaeger Tracer Configurator (solr-jaegertracer) provides a way for you to expose Solr's tracing to Jaeger.
+
+# Setup Jaeger Tracer Configurator
+
+Note that all library of solr-jaegertracer must be included in the classpath of all nodes then Jaeger tracer can be setup in `solr.xml` like this:
+
+```
+<tracerConfig name="tracerConfig" class="org.apache.solr.jaeger.JaegerTracerConfigurator">
+ <str name="agentHost">localhost</str>
+ <int name="agentPort">5775</int>
+ <bool name="logSpans">true</bool>
+ <int name="flushInterval">1000</int>
+ <int name="maxQueueSize">10000</int>
+</tracerConfig>
+```
+
+List of parameters for JaegerTracerConfigurator include:
+|Parameter|Type|Required|Default|Description|
+|---------|----|--------|-------|-----------|
+|agentHost|string|Yes||The host of Jaeger backend|
+|agentPort|int|Yes||The port of Jaeger port|
+|logsSpans|bool|No|true|Whether the tracer should also log the spans|
+|flushInterval|int|No|5000|The tracer's flush interval (ms)|
+|maxQueueSize|int|No|10000|The tracer's maximum queue size|
+
+Other parameters which are not listed above can be configured using System Properties or Environment Variables. The full list are listed at [Jaeger-README](https://github.com/jaegertracing/jaeger-client-java/blob/master/jaeger-core/README.md).
+
+By default the sampling rate is 0.1%, this value can be changed by updating
+key `samplePercentage` of cluster properties. I.e: `/admin/collections?action=CLUSTERPROP&name=propertyName&samplePercentage=100`.
diff --git a/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-core-0.35.5.jar b/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-core-0.35.5.jar
new file mode 100644
index 000000000..44e4bac19
--- /dev/null
+++ b/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-core-0.35.5.jar
Binary files differ
diff --git a/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-thrift-0.35.5.jar b/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-thrift-0.35.5.jar
new file mode 100644
index 000000000..906b22c2b
--- /dev/null
+++ b/solr-8.3.1/contrib/jaegertracer-configurator/lib/jaeger-thrift-0.35.5.jar
Binary files differ
diff --git a/solr-8.3.1/contrib/jaegertracer-configurator/lib/libthrift-0.12.0.jar b/solr-8.3.1/contrib/jaegertracer-configurator/lib/libthrift-0.12.0.jar
new file mode 100644
index 000000000..f5f0446c7
--- /dev/null
+++ b/solr-8.3.1/contrib/jaegertracer-configurator/lib/libthrift-0.12.0.jar
Binary files differ