Added option "total/perdevice" to Docker input (#1525)

Like cpu plugin, add two option "total" and "perdevice" to send network
and diskio metrics either per device and/or the sum of all devices.
This commit is contained in:
Pierre Fersing
2016-07-21 17:50:12 +02:00
committed by Cameron Sparr
parent 1c24665b29
commit 0462af164e
4 changed files with 119 additions and 10 deletions

View File

@@ -666,6 +666,11 @@
# container_names = []
# ## Timeout for docker list, info, and stats commands
# timeout = "5s"
# ## Whether to report for each container per-device blkio (8:0, 8:1...) and
# ## network (eth0, eth1, ...) stats or not
# perdevice = true
# ## Whether to report for each container total blkio and network stats or not
# total = false
# # Read statistics from one or many dovecot servers