Merge "Fix AFD message matcher for multivalue metrics"

This commit is contained in:
Jenkins 2017-01-03 16:33:24 +00:00 committed by Gerrit Code Review
commit 81962e63d4
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ define lma_collector::afd_filter (
heka::filter::sandbox { "afd_${type}_${cluster_name}_${logical_name}":
config_dir => $lma_collector::params::metric_config_dir,
filename => "${lma_collector::params::plugins_dir}/filters/afd.lua",
message_matcher => "(Type == \'metric\' || Type == \'heka.sandbox.metric\') && (${message_matcher})",
message_matcher => join(["(Type == \'metric\' || Type == \'heka.sandbox.metric\' ",
"|| Type == \'heka.sandbox.multivalue_metric\') && (${message_matcher})"], ''),
ticker_interval => 10,
config => {
hostname => $::hostname,