def extract_monitoring_info(framework, config, **kwargs):
    extractor = {
        'classic': extract_classic_monitoring_info
    }.get(framework)

    if extractor is None:
        raise Exception("Can not extract from {0}".format(framework))

    return extractor(config, **kwargs)
Extract monitoring information from wherever it is specified
dataset/ETHPy150Open Yelp/paasta/paasta_tools/monitoring/config_providers.py/extract_monitoring_info