Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16528

Jaegertracer module must include okhttp3 dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.2
    • None
    • None

    Description

      Trying to use the JaegerTracer module with 9.0. Setting up JAEGER_ENDPOINT=http://jaeger:14268/api/traces but then get exception 

      2022-11-08 14:42:59.046 ERROR (main) [] o.a.s.c.SolrCore null => java.lang.NoClassDefFoundError: okhttp3/Interceptor
          at io.jaegertracing.thrift.internal.senders.ThriftSenderFactory.getSender(ThriftSenderFactory.java:20)
      java.lang.NoClassDefFoundError: okhttp3/Interceptor
          at io.jaegertracing.thrift.internal.senders.ThriftSenderFactory.getSender(ThriftSenderFactory.java:20) ~[?:?]
          at io.jaegertracing.internal.senders.SenderResolver.getSenderFromFactory(SenderResolver.java:110) ~[?:?]
          at io.jaegertracing.internal.senders.SenderResolver.resolve(SenderResolver.java:88) ~[?:?]
      

      The plugin works with a local agent (JAEGER_AGENT_HOST=myhost), but not for pushing traces directly to the jaeger collector (or in our case OpenTelmetry Collector).

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m