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

MetricsHandler JSON output incorrect

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment