[
https://issues.apache.org/jira/browse/AMBARI-24797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan resolved AMBARI-24797.
----------------------------------------
Resolution: Fixed
> 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)