nozjkoitop commented on code in PR #19026:
URL: https://github.com/apache/druid/pull/19026#discussion_r2917479886
##########
extensions-contrib/prometheus-emitter/src/main/java/org/apache/druid/emitter/prometheus/PrometheusEmitter.java:
##########
@@ -145,6 +167,9 @@ public void emit(Event event)
private void emitMetric(ServiceMetricEvent metricEvent)
{
String name = metricEvent.getMetric();
+ if (shouldFilterOutMetric(name)) {
+ return;
+ }
Review Comment:
added an AbstractFilteringEmitter with shouldFilterMetrics and
allowedMetricNames
--
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]