def init_dbs(self): g.ES = db.init_elasticsearch() g.INFLUX = db.init_influxdb() g.MONGO = db.init_mongodb() g.MQ = db.init_mq() humongolus.settings(logging, g.MONGO)
def configure_dbs(self): es = db.init_elasticsearch() db.create_index(es) influx = db.init_influxdb() db.create_shards(influx)