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

Auto configure tracer without a <tracerConfig> tag in solr.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.4
    • tracing
    • None

    Description

      Spinoff from SOLR-16536. It should now be possible to get rid of the explicit <tracerConfig> config in solr.xml and the pluggable TracerConfigurator class which is initialized in CoreContainer.

      Instead, the opentelemetry plugin can self-register statically to the global OTEL instance. This will make it sufficient to enable the opentelemetry module to enable tracing. You can also enable/disable it with env OTEL_SDK_DISABLED.

      Alternatively, if we are getting away with global instance (SOLR-16937), then SolrCore could discover the plugin using SPI or similar as opposed to explicit editing of solr.xml.

      Attachments

        Activity

          People

            stillalex Alex Deparvu
            janhoy Jan Høydahl
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 1h
                1h