Be aware that the “CPU” circuit breaker actually uses a load average metric. 
That is often over 1.0. There is some work in progress to make that use a CPU 
utilization metric. CPU has a max of 1.0, but load average can go much higher.

https://issues.apache.org/jira/browse/SOLR-15056
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Sep 8, 2023, at 7:43 AM, Lyn Evans <lyn.ev...@netdocuments.com.INVALID> 
> wrote:
> 
> We will need to see the status of the Circuit Breaker ( enabled | disabled ) 
> after this endpoint is invoked.
> 
> The ~/config API will return what is in the solrconfig.xml.
> 
> We expect to be able to adapt the CB while the Solr instance is running.
> 
> -Lyn
> 
> From: Lyn Evans <lyn.ev...@netdocuments.com.INVALID>
> Date: Friday, September 8, 2023 at 9:39 AM
> To: users@solr.apache.org <users@solr.apache.org>
> Subject: Re: Get Circuit Breaker Status
> [You don't often get email from lyn.ev...@netdocuments.com.invalid. Learn why 
> this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Our team plans to set the `cpuEnabled` and `memEnabled` parameters in this 
> endpoint,
> to toggle the CB.
> 
> http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB,noDistributeMDCB,noDistributeFTCB<http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB%2cnoDistributeMDCB%2cnoDistributeFTCB><http://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB,noDistributeMDCB,noDistributeFTCB%3chttp://dev-slr-dat-2:8900/solr/doc1_2020-01-01/admin/circuit-breaker?cpuEnabled=false&cpuWarnThreshold=90&memEnabled=true&memThreshold=110&memWarnThreshold=99&updateChainName=noDistributeCB%2cnoDistributeMDCB%2cnoDistributeFTCB%3e>
> 
> Once we’ve invoked this endpoint, the CB config or “status” has been changed.
> 
> -Lyn
> 
> From: Jan Høydahl <jan....@cominvent.com>
> Date: Friday, September 8, 2023 at 9:11 AM
> To: users@solr.apache.org <users@solr.apache.org>
> Subject: Re: Get Circuit Breaker Status
> [You don't often get email from jan....@cominvent.com. Learn why this is 
> important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> What do you mean by "status"? You can find the CB in solrconfig.xml, and 
> there is not really much more status to be found?
> 
> Jan
> 
>> 8. sep. 2023 kl. 16:04 skrev Lyn Evans <lyn.ev...@netdocuments.com.INVALID>:
>> 
>> Are there plans to display the current Circuit Breaker details on the Solr 
>> Admin UI ?
>> 
>> Otherwise, how can I query Solr /admin endpoint to see current Circuit 
>> Breaker status ?
>> 
>> 
>> -Lyn

Reply via email to