Merge "Add prune input to Hindsight"

This commit is contained in:
Jenkins 2016-09-27 16:18:56 +00:00 committed by Gerrit Code Review
commit ae2adf456b
3 changed files with 11 additions and 3 deletions

View File

@ -129,6 +129,10 @@ $configs = {
create_resources(file, $configs, $files_defaults)
# Files
file { '/usr/share/luasandbox/sandboxes/heka/input/prune_input.lua':
ensure => 'link',
target => "${run_dir}/input/prune_input.lua",
}
$scripts = {
"${run_dir}/output/influxdb_tcp.lua" => {
@ -139,7 +143,10 @@ $scripts = {
},
"${run_dir}/output/elasticsearch_bulk_tcp.lua" => {
source => 'puppet:///modules/telemetry/hindsight/run/output/elasticsearch_bulk_tcp.lua'
}
},
"${run_dir}/input/prune_input.cfg" => {
source => 'puppet:///modules/telemetry/hindsight/run/input/prune_input.cfg',
},
}
create_resources(file, $scripts, $files_defaults)

View File

@ -0,0 +1,3 @@
ticker_interval = 60
input = true
analysis = true

View File

@ -1,8 +1,6 @@
max_message_size = 3 * 1024 * 1024
backpressure_disk_free = 100
output_size = 100 * 1024 * 1024
backpressure = 25
output_path = "<%= @output_dir %>"
sandbox_load_path = "<%= @hindsight_dir %>/load"