Amrit Sarkar created SOLR-18574:
-----------------------------------

             Summary: Query Insights: collection and traceId filters, runtime 
settings via cluster properties
                 Key: SOLR-18574
                 URL: https://issues.apache.org/jira/browse/SOLR-18574
             Project: Solr
          Issue Type: Sub-task
          Components: v2 API, metrics
            Reporter: Amrit Sarkar


*Scope*
* Optional {{collection}} and {{traceId}} params on {{GET 
/api/node/query-insights/top-queries}}, applied on each node before merging. An 
application that sends its request id as {{X-Trace-Id}} (or {{traceparent}} 
with OpenTelemetry) can find its Solr query in one call.
* {{ext.queryInsights.*}} cluster properties override the system property 
defaults at runtime. An invalid value logs one warning and keeps the previous 
settings. Changing N or the window size clears that metric's lists.
* {{excludedCollections}} setting.

*Tests*: filter by collection and by trace id, unknown trace id returns an 
empty list; {{CLUSTERPROP}} change applies on all nodes without restart; 
invalid value keeps the previous settings.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to