blob: d29d017970dbd5d0bc442f25cbd52934fec85b14 [file] [log] [blame]
from planetstack.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