avijayanhwx opened a new pull request #8: [AMBARI-24797] Support regex based 
metric inclusion in KafkaTimelineM…
URL: https://github.com/apache/ambari-metrics/pull/8
 
 
   …etricsReporter.
   
   ## What changes were proposed in this pull request?
   The request is to to add an additional config property 
external.kafka.metrics.include.regex to include metrics based on regex 
patterns. This property can take multiple comma separated regex expressions.
   
   **Implementation Logic**
   - By default, a metric will be included.
   - If the metric starts with any of the prefixes in the exclude.prefix 
property, it is a candidate for discarding.
   - However, for an "excluded" metric, if the metric starts with any of the 
prefixes in include.prefix or matches any pattern in include.regex, it will NOT 
be discarded.
   
   ## How was this patch tested?
   Manual and unit testing.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to