
Fix logging of debug, info and warning levels. Also configuration parameter VERBOSE is working again. fixes problems: * VERBOSE parameter can be changed at runtime * Initial log level was unset, then there was nothing logged lower than exception level. (for example configuration dump was not logged) * Initial VERBOSE was set to True, then it was too much verbose. And this flag was mean to be used for debugging problems. NOTE: real log level is driven by collectd configuration, not by plugin config. Change-Id: Ia7048ccb74f27a5d5885b9c0bda17d6fba603e9b Closes-Bug: #1664973
37 lines
759 B
Plaintext
37 lines
759 B
Plaintext
<LoadPlugin python>
|
|
Globals true
|
|
</LoadPlugin>
|
|
|
|
<Plugin python>
|
|
ModulePath "/opt/stack/collectd-ceilometer-plugin"
|
|
LogTraces true
|
|
Interactive false
|
|
Import "collectd_ceilometer.gnocchi.plugin"
|
|
|
|
<Module "collectd_ceilometer.gnocchi.plugin">
|
|
|
|
# Verbosity True|False
|
|
VERBOSE False
|
|
|
|
# Batch size
|
|
BATCH_SIZE "1"
|
|
|
|
# Service endpoint addresses
|
|
OS_AUTH_URL "<OS_AUTH_URL>"
|
|
|
|
# Ceilometer address
|
|
CEILOMETER_URL_TYPE "internalURL"
|
|
|
|
# Ceilometer timeout in ms
|
|
CEILOMETER_TIMEOUT "1000"
|
|
|
|
# # Ceilometer user creds
|
|
OS_USERNAME "gnocchi"
|
|
OS_PASSWORD "password"
|
|
OS_TENANT_NAME "service"
|
|
|
|
<UNITS>
|
|
</UNITS>
|
|
</Module>
|
|
</Plugin>
|