Remove "passthru" Snap plugin

Having a "process" node in a "collect" node is not
mandatory. This commit removes the "process" node
and places the "publish" node in "collect" node
directly.

Change-Id: I482b0ea37f80dd7f188ef38467f9ab41c7e5221e
This commit is contained in:
Éric Lemoine 2016-08-29 14:53:12 +02:00
parent b60fb5f901
commit ed89c626e0
1 changed files with 6 additions and 10 deletions

View File

@ -87,16 +87,12 @@
"/intel/procfs/swap/io/out_pages_per_sec": {},
"/intel/procfs/swap/all/used_bytes": {}
},
"process": [{
"plugin_name": "passthru",
"process": null,
"publish": [{
"plugin_name": "heka",
"config": {
"host": "localhost",
"port": {{ hindsight_heka_tcp_port }}
}
}]
"publish": [{
"plugin_name": "heka",
"config": {
"host": "localhost",
"port": {{ hindsight_heka_tcp_port }}
}
}]
}
}