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)
Find the stack frame of the caller so that we can note the source
dataset/ETHPy150Open Yelp/paasta/paasta_tools/monitoring/config_providers.py/extract_monitoring_info--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/logging/__init__.py/Logger.findCaller