blob: 6debf82ee10c4ffc3a6d429e987653518ed407bb [file] [log] [blame]
from xos.settings import STATISTICS_DRIVER
if (STATISTICS_DRIVER=="ceilometer"):
from observer import ceilometer
driver = ceilometer.CeilometerDriver()
elif (not STATISTICS_DRIVER) or (STATISTICS_DRIVER.lower() == "none"):
# disabled
driver = None
else:
driver = None
print "WARNING: Unknown statistics driver %s" % STATISTICS_DRIVER