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

MetricsHandler JSON output incorrect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.1, 6.4.2, 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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: