def get_all_stats_functions_from_conf()

in postgresql_metrics/metrics_logic.py [0:0]


def get_all_stats_functions_from_conf(conf):
    db_functions = get_stats_functions_from_conf('db_functions', conf)
    global_db_functions = get_stats_functions_from_conf('global_db_functions', conf)
    # `data_dir_functions` is deprecated, but to preserve backwards compatibility still read
    data_dir_functions = get_stats_functions_from_conf('data_dir_functions', conf)
    if data_dir_functions:
        LOG.warn("data_dir_functions field in config is deprecated -- consider moving functions to global_db_functions")
    all_global_db_functions = data_dir_functions + global_db_functions
    return db_functions, all_global_db_functions