def statuses(request):
    ok = True
    errors = {}
    resp = {"ok": ok, "errors": errors}
    # check es

    # es_ok, error = _check_es()
    # if not es_ok:
    #     errors.update(error)
    # # check redis
    # mysql_ok, error = _check_mysql()
    # if not mysql_ok:
    #     errors.update(error)

    # redis_ok, error = _check_redis()
    # if not redis_ok:
    #     errors.update(error)

    # celery_ok, error = _check_celery()
    # if not celery_ok:
    #     errors.update(error)

    # resp['ok'] = es_ok and mysql_ok and redis_ok and celery_ok
    resp["ok"] = True
    return resp
