def collect(self):
        url = "%s://%s:%s/vars" % (self.config['scheme'],
                                   self.config['host'],
                                   self.config['port'])

        response = urllib2.urlopen(url)

        for line in response.readlines():
            properties = line.split()

            # Not all lines returned will have a numeric metric.
            # To account for this, we attempt to cast the 'value'
            # portion as a float. If that's not possible, NBD, we
            # just move on.
            try:
                if len(properties) > 1:
                    subpath = properties[0].replace('/', '.').replace('_', '.')
                    value = float(properties[1])

                    self.publish(subpath, value)
            except __HOLE__:
                continue
dataset/ETHPy150Open Yelp/fullerite/src/diamond/collectors/aurora/aurora.py/AuroraCollector.collect