def update_config(self, config):
        if 'percentiles' in config:
            self.percentiles = map(int, config['percentiles'])
        if 'histogram_regex' in config:
            self.histogram_regex = re.compile(config['histogram_regex'])

    # override: Interpret beans that match the `histogram_regex` as histograms,
    # and collect percentiles from them.
dataset/ETHPy150Open python-diamond/Diamond/src/collectors/jolokia/cassandra_jolokia.py/CassandraJolokiaCollector.update_config/original