def METHOD_NAME():
    """
    Returns daily metrics for the last thirty days and all time monthly metrics
    Returns:
        {
            daily: {
                2021/01/15: {app1: ..., app2: ...}
                ...
            },
            monthly: {
                2021/01/01: {app1: ..., app2: ...}
                ...
            }
        }
    """
    db = db_session.get_db_read_replica()
    with db.scoped_session() as session:
        return _get_historical_app_metrics(session)