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

Matthew Biscocho commented on SOLR-18004:
-----------------------------------------

With the move to OTEL the /admin/metrics API defaults to prometheus and no 
longer supports JSON. The reason this throws is because the /admin/metrics 
parameter has a nodes parameter which will aggregate all the metrics with calls 
via javabin to a single node and the UI will parse that to display the UI view. 
CC [~janhoy]

This doesn't seem supportable in this aggregation method anymore with this new 
prometheus format and also kind of goes against what this endpoint should do 
which is just scrape metrics for a node, not aggregate. Spoke with [~dsmiley] 
offline, we could look into adding some kind of CORS support to jettys 
configuration so the UI can call each node to aggregate instead of a single 
node doing so. Any other suggestions are welcome.

> Admin UI nodes view throws "unsupported format requested: json"
> ---------------------------------------------------------------
>
>                 Key: SOLR-18004
>                 URL: https://issues.apache.org/jira/browse/SOLR-18004
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Admin UI, metrics
>    Affects Versions: 10.0
>            Reporter: Matthew Biscocho
>            Priority: Major
>         Attachments: Screenshot 2025-11-28 at 12.33.41 PM.png
>
>
> The admin UI cloud -> nodes view is throwing an error "Only Prometheus and 
> OpenMetrics metric formats supported. Unsupported format requested: json".



--
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