[
https://issues.apache.org/jira/browse/SOLR-16938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765746#comment-17765746
]
David Smiley commented on SOLR-16938:
-------------------------------------
Are you referring to modules/opentelemetry/build.gradle mentioning solrJ?
Sadly we have some overzealous dependency checking that insist we declare
dependencies, {_}even for transitive dependencies of gradle scope "api"{_}.
This annoys me too. Solr-core has an "api" dependency on SolrJ. That
dependency checking thing was written for a maven world and doesn't recognize
new concepts gradle gives us. This is my assessment / opinion of the matter.
I complained upstream to that plugin... got some interest but I don't believe
it's been fixed.
> Auto configure tracer without a <tracerConfig> tag in solr.xml
> --------------------------------------------------------------
>
> Key: SOLR-16938
> URL: https://issues.apache.org/jira/browse/SOLR-16938
> Project: Solr
> Issue Type: Improvement
> Components: tracing
> Reporter: Jan Høydahl
> Assignee: Alex Deparvu
> Priority: Major
> Fix For: 9.4
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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|https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/]
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]