def read_monitoring_config(service, soa_dir=DEFAULT_SOA_DIR):
    rootdir = os.path.abspath(soa_dir)
    monitoring_file = os.path.join(rootdir, service, "monitoring.yaml")
    monitor_conf = service_configuration_lib.read_monitoring(monitoring_file)
    return monitor_conf
Read a service's monitoring.yaml file.
dataset/ETHPy150Open Yelp/paasta/paasta_tools/monitoring_tools.py/read_monitoring_config