[ https://issues.apache.org/jira/browse/AMBARI-24797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655635#comment-16655635 ]
Hudson commented on AMBARI-24797: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-Metrics-master-Commit #11 (See [https://builds.apache.org/job/Ambari-Metrics-master-Commit/11/]) [AMBARI-24797] Support regex based metric inclusion in (github: [https://gitbox.apache.org/repos/asf?p=ambari-metrics.git&a=commit&h=d9b793575c893ae10451a9a4653717f45dcf04af]) * (edit) ambari-metrics-kafka-sink/src/main/java/org/apache/hadoop/metrics2/sink/kafka/KafkaTimelineMetricsReporter.java * (edit) ambari-metrics-kafka-sink/src/test/java/org/apache/hadoop/metrics2/sink/kafka/KafkaTimelineMetricsReporterTest.java > Support regex based metric inclusion in KafkaTimelineMetricsReporter > -------------------------------------------------------------------- > > Key: AMBARI-24797 > URL: https://issues.apache.org/jira/browse/AMBARI-24797 > Project: Ambari > Issue Type: Task > Components: ambari-metrics > Affects Versions: 2.8.0 > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Major > Labels: pull-request-available > Fix For: 2.8.0 > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)