lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11215) Make a metric accessible through a single param
Date Wed, 16 Aug 2017 13:44:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-11215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Bialecki  updated SOLR-11215:
-------------------------------------
    Attachment: SOLR-11215.diff

Initial patch:
* I decided that when "key" param is present we ignore all other parameters. It's very difficult
to figure out what should be the correct behavior otherwise, if you take into account all
possible combinations of group, registry, prefix, etc.
* handler's response doesn't build a nested hierarchy of registry / metric / property, instead
it uses flat keys as they were passed to the handler.
* keys support escaping the colon separator in registry and metric names, using backslash
(eg. {{fooRegistry:bar\:Metric:with\:property}}).

> Make a metric accessible through a single param
> -----------------------------------------------
>
>                 Key: SOLR-11215
>                 URL: https://issues.apache.org/jira/browse/SOLR-11215
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Andrzej Bialecki 
>             Fix For: 7.2
>
>         Attachments: SOLR-11215.diff
>
>
> example
> {code}
> /admin/metrics?key=solr.jvm:classes.loaded&key=solr.jvm:system.properties:java.specification.version
> {code}
> The above request must return just the two items in their corresponding path



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message