You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2017/03/13 16:41:41 UTC

[jira] [Created] (SOLR-10269) MetricsHandler JSON output looks weird

Andrzej Bialecki  created SOLR-10269:
----------------------------------------

             Summary: MetricsHandler JSON output looks weird
                 Key: SOLR-10269
                 URL: https://issues.apache.org/jira/browse/SOLR-10269
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: metrics
    Affects Versions: 6.4.1, 6.5, master (7.0), 6.4.2
            Reporter: Andrzej Bialecki 
            Assignee: Andrzej Bialecki 
             Fix For: 6.5, master (7.0)


Default XML output for {{/admin/metrics}} looks correct, but when {{&wt=json}} is used the output looks wrong:
{code}
...
  "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
      ],
...
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org