[ https://issues.apache.org/jira/browse/SOLR-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki updated SOLR-10269: ------------------------------------- Attachment: SOLR-10269.patch Patch. The output looks now like this: {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.6334427226239667, "1minRate": 1.2, "5minRate": 1.2, "15minRate": 1.2 }, ... {code} > 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) > > Attachments: SOLR-10269.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org