[jira] [Created] (SOLR-10319) SolrCore "instanceDir" metric not visible in JMX

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (SOLR-10319) SolrCore "instanceDir" metric not visible in JMX

JIRA jira@apache.org
Andrzej Bialecki  created SOLR-10319:

             Summary: SolrCore "instanceDir" metric not visible in JMX
                 Key: SOLR-10319
                 URL: https://issues.apache.org/jira/browse/SOLR-10319
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: metrics
    Affects Versions: 6.5, master (7.0)
            Reporter: Andrzej Bialecki
            Assignee: Andrzej Bialecki
            Priority: Minor
             Fix For: 6.5, master (7.0)

This metric exposes {{SolrResourceLoader.getInstancePath()}} as a gauge but {{java.nio.Path}} is not one of the {{OpenType}} allowed classes, and it shows up as "Unavailable" in JConsole.

The fix is to simply convert it toString.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]