adamjq commented on code in PR #3665:
URL: https://github.com/apache/solr/pull/3665#discussion_r2370245825
##########
solr/core/src/java/org/apache/solr/metrics/SolrMetricManager.java:
##########
@@ -773,7 +794,19 @@ public SdkMeterProvider meterProvider(String providerName)
{
var reader = new FilterablePrometheusMetricReader(true, null);
// NOCOMMIT: We need to add a Periodic Metric Reader here if we
want to push with OTLP
// with an exporter
- var provider =
SdkMeterProvider.builder().registerMetricReader(reader);
+ var provider =
+ SdkMeterProvider.builder()
+ .registerMetricReader(reader)
+ .registerView(
+ InstrumentSelector.builder()
Review Comment:
Updated with a TODO comment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]