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

Jan Høydahl updated SOLR-18400:
-------------------------------
    Description: 
/admin/metrics with wt=prometheus returns HTTP 500 ("No metrics found in 
response") when metrics collection is disabled, instead of a clean error; the 
Plugins screen just shows nothing while the console logs the 500. Workaround: 
tests enable metricsEnabled. Found by AdminUiSmokeTest / 
AdminUiCollectionScreensTest.

*NOTE: The metricsEnabled toggle only exists in test framework, so this bug 
would never hit end users*

!SOLR-18400-plugins-screen-500.png|width=900!

  was:
/admin/metrics with wt=prometheus returns HTTP 500 ("No metrics found in 
response") when metrics collection is disabled, instead of a clean error; the 
Plugins screen just shows nothing while the console logs the 500. Workaround: 
tests enable metricsEnabled. Found by AdminUiSmokeTest / 
AdminUiCollectionScreensTest.

!SOLR-18400-plugins-screen-500.png|width=900!


> Plugins screen 500s when metrics are disabled
> ---------------------------------------------
>
>                 Key: SOLR-18400
>                 URL: https://issues.apache.org/jira/browse/SOLR-18400
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Admin UI
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: SOLR-18400-plugins-screen-500.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> /admin/metrics with wt=prometheus returns HTTP 500 ("No metrics found in 
> response") when metrics collection is disabled, instead of a clean error; the 
> Plugins screen just shows nothing while the console logs the 500. Workaround: 
> tests enable metricsEnabled. Found by AdminUiSmokeTest / 
> AdminUiCollectionScreensTest.
> *NOTE: The metricsEnabled toggle only exists in test framework, so this bug 
> would never hit end users*
> !SOLR-18400-plugins-screen-500.png|width=900!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to