[
https://issues.apache.org/jira/browse/SOLR-18400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125586#comment-18125586
]
ASF subversion and git services commented on SOLR-18400:
--------------------------------------------------------
Commit 06eddf725910e0e6b005c0a7a950d588bbb4df0e in solr's branch
refs/heads/branch_10x from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=06eddf72591 ]
SOLR-18400: Plugins screen 500s when metrics are disabled (#4803)
(cherry picked from commit e34067ae6471af9b37f3da07409b0ab62c44f7bf)
> 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: Minor
> Labels: pull-request-available
> Fix For: 10.2
>
> Attachments: SOLR-18400-plugins-screen-500.png
>
> Time Spent: 1h 40m
> 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]