]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
cephmetrics: Use a default value type for graphite, and assign default logging
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 26 Jun 2017 05:07:50 +0000 (17:07 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 26 Jun 2017 05:07:50 +0000 (17:07 +1200)
commit26b202d7895569803682e76e9f4293d911b65c41
treec9199a847525e519dc2f90cf4bf076739a08ed13
parentd3432caf0dc7cc7b70b73f93a84313426fc65093
cephmetrics: Use a default value type for graphite, and assign default logging

Before this change, if a variable was defined in a class but NOT defined in it's attributes
the collector would fail. With this change a default of gauge is assigned.

In addition, a default logging level is set for all the collectors, if not specified by LogLevel
in the collectd.conf plugin
cephmetrics.py