GitHub user rmatharu opened a pull request: https://github.com/apache/samza/pull/591
Adding filter mechanism to MetricsSnapshotReporter This regex based filter mechanism allow for blacklisting of metrics being reporter by the Snapshot Reporter, by specifying the blacklist in config. * Backwards compatible -- no config => reports everything. * Regex based, e.g., metrics.reporter.snapshot.blacklist=^(?!.*?(?:SamzaContainerMetrics|TaskInstanceMetrics)).*$ to report only container metrics and task instance metrics. * Uses a hashset to ensure blacklisted metric are matched against the regex only once. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rmatharu/samza filter Alternatively you can review and apply these changes as the patch at: https://github.com/apache/samza/pull/591.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #591 ---- commit 28afa50eba84142422119d580bcc6b370d598a6e Author: rmath...@linkedin.com <rmatharu@...> Date: 2018-07-31T01:30:20Z Adding filter mechanism to MetricsSnapshotReporter ---- ---