diff --git a/README.md b/README.md index b8d08b05a..f72a16f1e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ additional questions or comments. Note : The agent version(s) below has dates (ciprod), which indicate the agent build dates (not release dates) -### 02/20/2019 - Version microsoft/oms:ciprod02202019 +### 02/21/2019 - Version microsoft/oms:ciprod02212019 - Container logs enrichment optimization * Get container meta data only for containers in current node (vs cluster before) - Update fluent bit 0.13.7 => 0.14.4 diff --git a/installer/conf/td-agent-bit.conf b/installer/conf/td-agent-bit.conf index 467489d1c..f01857cd7 100644 --- a/installer/conf/td-agent-bit.conf +++ b/installer/conf/td-agent-bit.conf @@ -28,5 +28,6 @@ EnableTelemetry true TelemetryPushIntervalSeconds 300 Match oms.container.log.* - AgentVersion ciprod02202019 + AgentVersion ciprod02212019 + diff --git a/source/code/plugin/filter_cadvisor2mdm.rb b/source/code/plugin/filter_cadvisor2mdm.rb index 85f9f688e..94f2107cc 100644 --- a/source/code/plugin/filter_cadvisor2mdm.rb +++ b/source/code/plugin/filter_cadvisor2mdm.rb @@ -63,7 +63,7 @@ def configure(conf) @log = nil if @enable_log - @log = Logger.new(@log_path, 'weekly') + @log = Logger.new(@log_path, 1, 5000000) @log.debug {'Starting filter_cadvisor2mdm plugin'} end end @@ -191,7 +191,6 @@ def get_metric_records(record, metric_name, metric_value, percentage_metric_valu } records.push(JSON.parse(additional_record)) end - @log.info "Metric Name: #{metric_name} Metric Value: #{metric_value} Percentage Metric Value: #{percentage_metric_value}" return records end diff --git a/source/code/plugin/filter_inventory2mdm.rb b/source/code/plugin/filter_inventory2mdm.rb index 8aaa5ff01..84f12dd06 100644 --- a/source/code/plugin/filter_inventory2mdm.rb +++ b/source/code/plugin/filter_inventory2mdm.rb @@ -91,7 +91,7 @@ def configure(conf) @log = nil if @enable_log - @log = Logger.new(@log_path, 'weekly') + @log = Logger.new(@log_path, 1, 5000000) @log.debug {'Starting filter_inventory2mdm plugin'} end end @@ -179,10 +179,8 @@ def process_pod_inventory_records(es) # Collect all possible combinations of dimension values other than pod phase key_without_phase_dim_value = [podNodeDimValue, podNamespaceDimValue, podControllerNameDimValue].join('~~') if no_phase_dim_values_hash.key?(key_without_phase_dim_value) - @log.info "#{key_without_phase_dim_value} already present in #{no_phase_dim_values_hash}" next else - @log.info "Adding #{key_without_phase_dim_value} to #{no_phase_dim_values_hash}" no_phase_dim_values_hash[key_without_phase_dim_value] = true end }