Skip to content

Commit 7f15bde

Browse files
author
Jarret Lavallee
committed
(gh-73) Append - to the metric command for json2timeseriesdb
Prior to this commit, a warning would be presented when shipping metrics using the json2timeseriesdb streaming. This commit adds a - to the the command to stop the warning.
1 parent b058216 commit 7f15bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/pe_metric.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
fail('When specifying an InfluxDB metrics server, you must specify a metrics server db_name')
6565
}
6666

67-
$conv_metrics_command = "${base_metrics_command} | ${conversion_script_file_path} --netcat ${server_hostname} --convert-to ${server_type}"
67+
$conv_metrics_command = "${base_metrics_command} | ${conversion_script_file_path} --netcat ${server_hostname} --convert-to ${server_type} -"
6868

6969
$full_metrics_command = empty($server_port) ? {
7070
false => "${conv_metrics_command} --port ${server_port}",

0 commit comments

Comments
 (0)