collectd-openstack-plugins/etc/collectd.conf.d/collectd-gnocchi-plugin.conf
Emma Foley fbf2959d6e Add custom unit mapping to Gnocchi
- Add new UNIT block to sample conf.
- Configure the UNIT block for Gnocchi.
- Add a new config_units function
- Change COLLECTD_CUSTOM_UNITS to COLLECTD_CEILOMETER_CUSTOM_UNITS
- Add COLLECTD_GNOCCHI_CUSTOM_UNITS config option

Change-Id: I93088f2299ac4b5679289b1526febcf5e773be02
2017-03-10 13:30:35 +00:00

37 lines
758 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 True
# 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>