def text_string_to_metric_families(text):
    for metric_family in text_fd_to_metric_families(StringIO.StringIO(text)):
      yield metric_family
An example metric used by the relay.mesos demo to query mesos master
dataset/ETHPy150Open prometheus/client_python/prometheus_client/parser.py/text_string_to_metric_families--crossover with--dataset/ETHPy150Open sailthru/relay.mesos/relay_mesos/for_demo.py/num_active_mesos_tasks