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

SolrCore "instanceDir" metric not visible in JMX

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5, 7.0
    • Fix Version/s: 6.5, 7.0
    • Component/s: metrics
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ab Andrzej Bialecki
              Reporter:
              ab Andrzej Bialecki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: