[ 
https://issues.apache.org/jira/browse/SOLR-11205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119502#comment-16119502
 ] 

Noble Paul commented on SOLR-11205:
-----------------------------------

we should have a 1:1 mapping between this syntax and the metrics API. 

we should add a parameter which returns exactly that one value. SOLR-11215



> Make arbitrary metrics values available for policies
> ----------------------------------------------------
>
>                 Key: SOLR-11205
>                 URL: https://issues.apache.org/jira/browse/SOLR-11205
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>
> Any metric available in the metrics API should be available for policy 
> configurations.
> Example;
> {code}
> {'replica': 0, 'metrics:solr.jvm/os.systemLoadAverage': '<0.5'}
> {code}
> So the syntax to use a metric is:
> {code}
> metrics:<group>/<metric>
> {code}



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

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

Reply via email to