Fixup typo guage -> gauge in docker-stats.py

This commit is contained in:
Johannes Zellner
2022-10-11 10:54:53 +02:00
parent 3caffdb4e1
commit ad29f51833

View File

@@ -44,7 +44,7 @@ def read():
cpuPerc = float(cpuPercData)
# type comes from https://github.com/collectd/collectd/blob/master/src/types.db and https://collectd.org/wiki/index.php/Data_source
val = collectd.Values(type='guage', plugin='docker-stats', plugin_instance=containerName)
val = collectd.Values(type='gauge', plugin='docker-stats', plugin_instance=containerName)
val.dispatch(values=[networkRead], type_instance='network-read')
val.dispatch(values=[networkWrite], type_instance='network-write')
val.dispatch(values=[blockRead], type_instance='blockio-read')