You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/03/04 16:15:00 UTC

[jira] [Comment Edited] (SOLR-16072) Metrics: solr.jetty disappeared in 9

    [ https://issues.apache.org/jira/browse/SOLR-16072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501417#comment-17501417 ] 

Kevin Risden edited comment on SOLR-16072 at 3/4/22, 4:14 PM:
--------------------------------------------------------------

My only guess right now is that metrics-jetty9 is only used at runtime and isn't on the classpath for running Solr server. At least based on main, it looks like it is there in the right spot though.

{code:java}
find solr/packaging/build/solr-10.0.0-SNAPSHOT/ -name '*metrics-jetty9*.jar'
solr/packaging/build/solr-10.0.0-SNAPSHOT/server/lib/metrics-jetty9-4.1.5.jar
{code}

Based on https://metrics.dropwizard.io/4.2.0/manual/jetty.html


was (Author: risdenk):
My only guess right now is that metrics-jetty9 is only used at runtime and isn't on the classpath for running Solr server. At least based on main, it looks like it is there in the right spot though.

{code:java}
find solr/packaging/build/solr-10.0.0-SNAPSHOT/ -name '*metrics-jetty9*.jar'
solr/packaging/build/solr-10.0.0-SNAPSHOT/server/lib/metrics-jetty9-4.1.5.jar
{code}

Based on https://metrics.dropwizard.io/3.1.0/manual/jetty/

> Metrics: solr.jetty disappeared in 9
> ------------------------------------
>
>                 Key: SOLR-16072
>                 URL: https://issues.apache.org/jira/browse/SOLR-16072
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>    Affects Versions: 9.0
>            Reporter: David Smiley
>            Priority: Blocker
>             Fix For: 9.0
>
>
> The "solr.jetty" metrics is totally gone in 9.; it's still there in 8.  I see at least some of the code related to this; it's unclear what broke it.  There is no test (!) but the Prometheus exporter default config solr-exporter-config.xml references it, and spits out errors due to its absence.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org