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

MetricsHandler JSON output incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.4.1, 6.4.2, 6.5, 7.0
    • 6.5, 7.0
    • metrics
    • None

    Description

      Default XML output for /admin/metrics looks correct, but when &wt=json is used the output looks wrong:

      ...
        "metrics": [
          "solr.jetty",
          [
            "org.eclipse.jetty.server.handler.DefaultHandler.1xx-responses",
            [
              "count",
              0,
              "meanRate",
              0,
              "1minRate",
              0,
              "5minRate",
              0,
              "15minRate",
              0
            ],
            "org.eclipse.jetty.server.handler.DefaultHandler.2xx-responses",
            [
              "count",
              6,
              "meanRate",
              0.6655558669400584,
              "1minRate",
              1.2,
              "5minRate",
              1.2,
              "15minRate",
              1.2
            ],
      ...
      

      Attachments

        1. SOLR-10269.patch
          1 kB
          Andrzej Bialecki

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: